mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 08:28:18 +00:00
Local dev configs for nginx (untested)
This commit is contained in:
1 parent
70b6d1aa34
commit
64da009acb
2 files changed
+51
-2
No files matched your search
@@ -10,6 +10,7 @@
|
||||
# - /usr/local/etc/nginx/sites-enabled/{name-of-site} (for default nginx install)
|
||||
#
|
||||
|
||||
# API backend over plain HTTP
|
||||
server {
|
||||
listen 80;
|
||||
server_name api.jungle.horse;
|
||||
@@ -19,6 +20,20 @@ server {
|
||||
proxy_redirect off;
|
||||
}
|
||||
}
|
||||
|
||||
# TODO(2022-02-13): This is new and untested
|
||||
# WebSocket API backend over plain HTTP
|
||||
server {
|
||||
listen 80;
|
||||
server_name ws.jungle.horse;
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://127.0.0.1:54321;
|
||||
proxy_redirect off;
|
||||
}
|
||||
}
|
||||
|
||||
# Javascript frontend over plain HTTP
|
||||
server {
|
||||
listen 80;
|
||||
server_name jungle.horse;
|
||||
@@ -28,3 +43,15 @@ server {
|
||||
proxy_redirect off;
|
||||
}
|
||||
}
|
||||
|
||||
# TODO(2022-02-13): This is new and untested
|
||||
# Javascript frontend #2 (OBS Layer) over plain HTTP
|
||||
server {
|
||||
listen 80;
|
||||
server_name obs.jungle.horse;
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://127.0.0.1:7001;
|
||||
proxy_redirect off;
|
||||
}
|
||||
}
|
||||
@@ -48,10 +48,21 @@ server {
|
||||
}
|
||||
}
|
||||
|
||||
# TODO(2022-02-13): This is new and untested
|
||||
# WebSocket API backend over plain HTTP
|
||||
server {
|
||||
listen 80;
|
||||
server_name ws.jungle.horse;
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://127.0.0.1:54321;
|
||||
proxy_redirect off;
|
||||
}
|
||||
}
|
||||
|
||||
# Javascript frontend over plain HTTP
|
||||
server {
|
||||
listen 80;
|
||||
# server_name www.jungle.horse;
|
||||
server_name jungle.horse;
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
@@ -60,6 +71,18 @@ server {
|
||||
}
|
||||
}
|
||||
|
||||
# TODO(2022-02-13): This is new and untested
|
||||
# Javascript frontend (OBS Layer) over plain HTTP
|
||||
server {
|
||||
listen 80;
|
||||
server_name obs.jungle.horse;
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://127.0.0.1:7001;
|
||||
proxy_redirect off;
|
||||
}
|
||||
}
|
||||
|
||||
# Javascript frontend over SSL
|
||||
server {
|
||||
listen 443 ssl;
|
||||
@@ -74,4 +97,3 @@ server {
|
||||
proxy_redirect off;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user