summaryrefslogtreecommitdiffstats
path: root/deploy/nginx.conf.example
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/nginx.conf.example')
-rw-r--r--deploy/nginx.conf.example12
1 files changed, 12 insertions, 0 deletions
diff --git a/deploy/nginx.conf.example b/deploy/nginx.conf.example
new file mode 100644
index 0000000..046e165
--- /dev/null
+++ b/deploy/nginx.conf.example
@@ -0,0 +1,12 @@
+server {
+ listen 443 ssl http2;
+ server_name n2usenet.virebent.art;
+
+ location / {
+ proxy_pass http://127.0.0.1:8095;
+ proxy_http_version 1.1;
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-Proto https;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ }
+}