Commit 73fcb01d authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

I still hate nginx. Wish I has just used apache...

parent 3e118a3d
Pipeline #11751 passed with stages
in 2 minutes and 54 seconds
......@@ -2,10 +2,6 @@
# on the same server. So we'll just do a proxy pass...
# Checkout https://ssl-config.mozilla.org/ for configuring secure ssl
# Bug is you cannot use try_files with alias, and has been open for almost 10 years at this point...
upstream localhost.docs {
server 127.0.0.1:80;
}
upstream localhost.api {
server 127.0.0.1:80;
}
......
......@@ -6,7 +6,7 @@
# Checkout https://ssl-config.mozilla.org/ for configuring secure ssl
# Bug is you cannot use try_files with alias, and has been open for almost 10 years at this point...
upstream localhost.api {
server 127.0.0.1:443;
server 127.0.0.1:80;
}
server {
......@@ -62,7 +62,7 @@ server {
}
location /api {
proxy_pass https://localhost.api;
proxy_pass http://localhost.api;
}
location / {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment