Move files

This commit is contained in:
Nolan Poe
2022-12-30 13:48:17 -08:00
committed by Gitea
parent 7f08eff2a2
commit c46f64c3b1
3 changed files with 6 additions and 7 deletions

19
nginx.conf.example Normal file
View File

@@ -0,0 +1,19 @@
server {
listen 80;
server_name www.SERVERNAME;
return 301 $scheme://SERVERNAME$request_uri;
}
server {
listen 80;
server_name SERVERNAME;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://localhost:3000;
proxy_ssl_session_reuse off;
proxy_set_header Host $http_host;
}
}