05.01.26
This commit is contained in:
@@ -26,6 +26,22 @@ server {
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 81 ssl;
|
||||
server_name srv413259.hstgr.cloud;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/srv413259.hstgr.cloud/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/srv413259.hstgr.cloud/privkey.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://hugo:80; # "hugo" = nom du service Docker
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8444 ssl;
|
||||
server_name srv413259.hstgr.cloud;
|
||||
@@ -88,8 +104,8 @@ server {
|
||||
client_max_body_size 100M;
|
||||
|
||||
# Dashboard React (build Vite)
|
||||
root /var/www/dashboard; # ✅ Mets ici le chemin où tu as copié le contenu de `dist/`
|
||||
index index.html;
|
||||
#root /var/www/dashboard; # ✅ Mets ici le chemin où tu as copié le contenu de `dist/`
|
||||
#index index.html;
|
||||
|
||||
location /dashboard {
|
||||
alias /var/www/dashboard/;
|
||||
@@ -108,6 +124,12 @@ server {
|
||||
alias /var/www/dashboard;
|
||||
}
|
||||
|
||||
# location /os-site/ {
|
||||
# root /var/www/;
|
||||
# index index.html;
|
||||
# try_files $uri $uri/ /os-site/index.html;
|
||||
# }
|
||||
|
||||
# Metabase : reverse proxy vers port 3000
|
||||
location /metabase/ {
|
||||
proxy_pass http://metabase:3000/;
|
||||
|
||||
Reference in New Issue
Block a user