Add nginx config files (from mac)

This commit is contained in:
Brandon Thomas committed 2022-01-06 19:13:28 -05:00
1 parent 5c3afb0e68
commit ac95040be2
2 files changed
+78

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
server {
listen 80;
server_name api.jungle.horse;
location / {
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:12345;
proxy_redirect off;
}
}
server {
listen 80;
server_name jungle.horse;
location / {
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:7000;
proxy_redirect off;
}
}
@@ -0,0 +1,60 @@
server {
listen 80;
server_name api.jungle.horse;
location / {
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:12345;
proxy_redirect off;
}
}
server {
listen 80;
server_name jungle.horse;
location / {
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:7000;
proxy_redirect off;
}
}
#events {}
#http {
#server_names_hash_bucket_size 64;
# upstream backend {
# server 127.0.0.1:7000
# }
# server {
# server_name jungle.horse;
# rewrite ^(.*) https://jungle.horse$1 permanent;
# }
#server {
# listen 443 ssl;
# # ssl on;
# ssl_certificate /Users/bt/dev/storyteller/storyteller-web/localhost.crt;
# ssl_certificate_key /Users/bt/dev/storyteller/storyteller-web/localhost.key;
# ssl_ciphers HIGH:!aNULL:!MD5;
# server_name jungle.horse;
# location / {
# proxy_pass http://127.0.0.1:7000;
# }
#}
# server {
# listen 80;
# server_name api.jungle.horse;
# location / {
# proxy_set_header Host $host;
# proxy_pass http://127.0.0.1:12345;
# proxy_redirect off;
# }
# }
# server {
# listen 80;
# server_name jungle.horse;
# location / {
# proxy_set_header Host $host;
# proxy_pass http://127.0.0.1:7000;
# proxy_redirect off;
# }
# }
#}