Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- location / {
- proxy_pass http://217.65.241.68:81;
- proxy_buffering off;
- }
- location /ws {
- proxy_pass http://217.65.241.68:81;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection "upgrade";
- }
- # server_name localhost;
- server_name stage.idied.org;
- listen [::]:443 ssl ipv6only=on; # managed by Certbot
- listen 443 ssl; # managed by Certbot
- ssl_certificate /etc/letsencrypt/live/stage.idied.org/fullchain.pem; # managed by Certbot
- ssl_certificate_key /etc/letsencrypt/live/stage.idied.org/privkey.pem; # managed by Certbot
- include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
- ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
- }
- server {
- if ($host = stage.idied.org) {
- return 301 https://$host$request_uri;
- } # managed by Certbot
- server_name stage.idied.org;
- listen 80 default_server;
- listen [::]:80 default_server;
- return 404; # managed by Certbot
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement