Files
PromptArch/nginx_config_temp

28 lines
792 B
Plaintext

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;
}
}