ketr.photos/server/production.location
James Ketrenos 3e9438bb27 Switched back to port 80 (http) instead of https in the container
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2023-01-23 07:54:15 -08:00

14 lines
317 B
Plaintext

# PRODUCTION -- pre-built source
location /identities/api/v1/ {
rewrite ^/identities/api/v1/(.*)$ /api/v1/$1 break;
proxy_pass http://localhost/;
proxy_redirect off;
proxy_set_header Host $host;
}
location /identities {
try_files $uri $uri/ =404;
alias /website/client/build;
index index.html;
}