2024-12-19

This commit is contained in:
hayano
2024-12-19 03:58:48 +00:00
parent a0f2b01f29
commit 82fa3c2249
6 changed files with 282 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# HTTPS server
server {
listen 80;
listen 8100;
server_name rogaining.sumasen.net localhost;
access_log /var/log/nginx/api_access.log;
@ -11,7 +11,7 @@ server {
# Django admin
location ~ ^/(admin|api)/ {
proxy_pass http://api:8100;
proxy_pass http://api:8000;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;