static
This commit is contained in:
1 parent
9b8676809d
commit
ef33baacba
2 files changed
+3
-2
No files matched your search
@@ -35,6 +35,7 @@ services:
|
|||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
volumes:
|
volumes:
|
||||||
- './nginx/matescrates.au.nginx.conf:/etc/nginx/conf.d/default.conf'
|
- './nginx/matescrates.au.nginx.conf:/etc/nginx/conf.d/default.conf'
|
||||||
|
- './client/build:/srv/matescrates'
|
||||||
- '/etc/letsencrypt:/etc/letsencrypt'
|
- '/etc/letsencrypt:/etc/letsencrypt'
|
||||||
ports:
|
ports:
|
||||||
- '80:80'
|
- '80:80'
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ server {
|
|||||||
gzip_types text/plain text/css text/xml application/json application/javascript application/xml+rss application/atom+xml image/svg+xml;
|
gzip_types text/plain text/css text/xml application/json application/javascript application/xml+rss application/atom+xml image/svg+xml;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://mcrates_client;
|
root /srv/matescrates;
|
||||||
proxy_read_timeout 600s;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/ws {
|
location /api/ws {
|
||||||
|
|||||||
Reference in new issue
Block a user