Arsybai / serverblock
0 beğeniler
0 çatallar
1 files
Son aktif
server block for serving app using nginx (python, nodejs)
1 | server { |
2 | listen 80; |
3 | server_name <domain_name.com>; |
4 | location / { |
5 | proxy_pass http://127.0.0.1:<port>; |
6 | proxy_set_header Host $host; |
7 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
8 | } |
9 | } |
Newer
Older