Files
start-os/appmgr/nginx.conf
Aiden McClelland 5d44519d0d fix warnings
2022-01-21 20:35:52 -07:00

34 lines
805 B
Nginx Configuration File

server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name _;
proxy_buffering off;
proxy_request_buffering off;
proxy_socket_keepalive on;
proxy_http_version 1.1;
location /rpc/ {
proxy_pass http://localhost:5959/;
}
location /ws/ {
proxy_pass http://localhost:5960/;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
location /marketplace/ {
proxy_pass https://beta-registry-0-3.start9labs.com/;
}
location / {
try_files $uri $uri/ =404;
}
}