initial commit
This commit is contained in:
commit
46911314f2
16 changed files with 1733 additions and 0 deletions
19
nginx.conf
Normal file
19
nginx.conf
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/localhost/localhost.cert.pem;
|
||||
ssl_certificate_key /etc/nginx/certs/localhost/localhost.key.pem;
|
||||
ssl_trusted_certificate /etc/nginx/certs/localhost/localhost.fullchain.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://app:3000;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue