Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name bwapp.vapps.mashiahs.com;
- access_log /var/log/nginx/bwapp.access.log;
- location / {
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto $scheme;
- # Fix the “It appears that your reverse proxy set up is broken" error.
- proxy_pass http://192.168.20.11:80;
- proxy_read_timeout 90;
- proxy_redirect http://localhost https://bwapp.vapps.mashiahs.com;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement