diff --git a/nginx_config_simple b/nginx_config_simple deleted file mode 100644 index d17c489..0000000 --- a/nginx_config_simple +++ /dev/null @@ -1,21 +0,0 @@ -server { - listen 80; - server_name www.rommark.dev rommark.dev; - - location /tools/promptarch/ { - proxy_pass http://127.0.0.1:3000; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - 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; - } - - location / { - root /var/www/html; - index index.nginx-debian.html index.html; - try_files $uri $uri/ =404; - } -} diff --git a/nginx_config_temp b/nginx_config_temp deleted file mode 100644 index f4ad23a..0000000 --- a/nginx_config_temp +++ /dev/null @@ -1,27 +0,0 @@ -server { - listen 80; - server_name www.rommark.dev rommark.dev; - - location /tools/promptarch/ { - proxy_pass http://127.0.0.1:3000/tools/promptarch/; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_set_header Host $host; - proxy_cache_bypass $http_upgrade; - } - - location /tools/promptarch/_next/ { - proxy_pass http://127.0.0.1:3000/tools/promptarch/_next/; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_set_header Host $host; - } - - location / { - root /var/www/html; - index index.nginx-debian.html index.html; - try_files $uri $uri/ =404; - } -}