Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen wyze.herokuapp.com:80;
- server_name wyze.herokuapp.com;
- location / {
- #access_log off;
- proxy_pass http://127.0.0.1:3000/;
- proxy_set_header Host $http_host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- }
- server {
- listen wyze.herokuapp.com:443;
- server_name wyze.herokuapp.com;
- ssl on;
- ssl_protocols SSLv3 TLSv1;
- ssl_certificate /etc/nginx/ssl/cert.pem;
- ssl_certificate_key /etc/nginx/ssl/cert.key;
- location / {
- #access_log off;
- proxy_pass http://127.0.0.1:3000/;
- proxy_set_header Host $http_host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement