Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name domain.tld www.domain.tld;
- return 301 https://$host$request_uri;
- }
- server {
- listen 443 ssl http2;
- server_name domain.tld www.domain.tld;
- root /config/www/domain;
- index index.html index.htm index.php;
- include /config/nginx/ssl.conf;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement