Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- upstream mezzanine {
- server 10.0.0.3:8080 fail_timeout=0;
- }
- server {
- listen 80;
- server_name 192.168.88.10.xip.io, www.192.168.88.10.xip.io;
- client_max_body_size 10485760;
- keepalive_timeout 15;
- charset utf-8;
- location / {
- proxy_redirect off;
- 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-Protocol $scheme;
- proxy_pass http://10.0.0.3:8080;
- proxy_redirect off;
- proxy_buffering off;
- }
- # location /static/ {
- # proxy_pass http://10.0.0.3:8080;
- # access_log off;
- # log_not_found off;
- # expires 30d;
- # }
- # location /robots.txt {
- # proxy_pass http://10.0.0.3:8080/static;
- # access_log off;
- # log_not_found off;
- # }
- # location /favicon.ico {
- # proxy_pass http://10.0.0.3:8080/static/img;
- # access_log off;
- # log_not_found off;
- # }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement