This commit is contained in:
tanshu committed 2024-12-17 17:52:46 +05:30
1 parent ddf6b5a54c
commit 2f767a1826
5 files changed
+91

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
server {
listen 80;
server_name {{ http_host }};
# location /_/static {
# alias /path/to/gitea/public;
# }
location / {
proxy_pass http://localhost:3000;
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-Proto $scheme;
}
}