ci(Docker): try to run npm on docker.
This commit is contained in:
13
nginx.conf
13
nginx.conf
@@ -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 / {
|
||||
|
||||
Reference in New Issue
Block a user