ci(Docker): try to run npm on docker.

This commit is contained in:
2024-09-28 15:49:30 -05:00
parent 2c8911fb78
commit f14d27e83c
3 changed files with 29 additions and 5 deletions

View File

@@ -2,10 +2,17 @@ server {
listen 80;
server_name donconfiao.org;
# location /frontend {
# alias /var/www/frontend/;
# autoindex on;
# }
location /frontend {
alias /var/www/frontend/;
# index index.html;
autoindex on;
proxy_pass http://frontend:3000/frontend;
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 $scheme;
}
location / {