Add reverse-proxy configuration for existing NGINX installation

This commit is contained in:
birjolaxew committed 2020-10-30 05:48:12 +01:00
1 parent 2e9dd1560e
commit f055f1d0aa
2 files changed
+25

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
server {
# replace example.com with your domain name
server_name example.com;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}