ssl et ngix possiblement la cause du probleme

This commit is contained in:
Eddi3_As 2025-02-11 19:19:49 -05:00
parent a2de9a07ec
commit 1216039269

View file

@ -9,6 +9,9 @@ upstream backend {
server {
listen 80;
#FOR PROD
#listen 443 ssl; # Listen for SSL at port 443 as well
location /api {
rewrite /backend/(.*) /$1 break;
proxy_pass http://backend;
@ -28,4 +31,10 @@ server {
proxy_pass http://frontend;
}
#FOR PROD
# If a user tries to come through http, redirect them through https
#if ($scheme != "https") {
# return 301 https://$host$request_uri;
#}
}