mdns and nginx for main service

This commit is contained in:
Aiden McClelland
2021-09-14 16:45:39 -06:00
committed by Aiden McClelland
parent 9fb57d038a
commit 8dc3377bbd
9 changed files with 151 additions and 23 deletions

View File

@@ -0,0 +1,33 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html/main;
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;
}
}

View File

@@ -0,0 +1,23 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html/recovery;
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 / {
try_files $uri $uri/ =404;
}
}

View File

@@ -0,0 +1,23 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html/setup;
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 / {
try_files $uri $uri/ =404;
}
}