Use non read-only path
This commit is contained in:
parent
04b7af2d00
commit
82b33279d2
@ -22,7 +22,7 @@ services:
|
|||||||
- nginx-cache:/var/cache/nginx/peertube-media-cache:rw
|
- nginx-cache:/var/cache/nginx/peertube-media-cache:rw
|
||||||
configs:
|
configs:
|
||||||
- source: nginx_config
|
- source: nginx_config
|
||||||
target: /etc/nginx/conf.d/default.conf
|
target: /etc/nginx/nginx.conf
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
user www-data;
|
||||||
|
|
||||||
|
events {
|
||||||
|
worker_connections 768;
|
||||||
|
}
|
||||||
|
|
||||||
|
http {
|
||||||
upstream backend {
|
upstream backend {
|
||||||
server app:9000;
|
server app:9000;
|
||||||
}
|
}
|
||||||
@ -240,3 +247,4 @@ server {
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user