Commit 7a3aa852 authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

Fix proxy pass for api on https on the docker webserver

parent 328074e3
# Thers a stupid bug in nginx that's been around for years that makes it so we can't easily put both front and backend
# on the same server. So we'll just do a proxy pass...
upstream localhost.api {
server 127.0.0.1;
server 127.0.0.1:443;
}
server {
......@@ -42,7 +42,7 @@ server {
}
location /api {
proxy_pass http://localhost.api/;
proxy_pass https://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