Move files needed for reverse-proxy in /var/lib/mobilizon/www
This commit is contained in:
parent
0bd8396b23
commit
b75e909677
4
debian/examples/nginx.conf
vendored
4
debian/examples/nginx.conf
vendored
@ -57,7 +57,7 @@ server {
|
||||
}
|
||||
|
||||
location ~ ^/(assets|img) {
|
||||
root /var/lib/mobilizon/priv/static;
|
||||
root /var/lib/mobilizon/www/static;
|
||||
access_log off;
|
||||
add_header Cache-Control "public, max-age=31536000, s-maxage=31536000, immutable";
|
||||
}
|
||||
@ -70,7 +70,7 @@ server {
|
||||
|
||||
error_page 500 501 502 503 504 @error;
|
||||
location @error {
|
||||
root /var/lib/mobilizon/priv/errors;
|
||||
root /var/lib/mobilizon/www/errors;
|
||||
try_files /error.html 502;
|
||||
}
|
||||
|
||||
|
3
debian/install
vendored
3
debian/install
vendored
@ -1,4 +1,5 @@
|
||||
debian/config.exs.tpl etc/mobilizon
|
||||
_build/prod/rel/mobilizon/lib/mobilizon*/* var/lib/mobilizon
|
||||
_build/prod/rel/mobilizon/lib/mobilizon*/priv/static var/lib/mobilizon/www
|
||||
_build/prod/rel/mobilizon/lib/mobilizon*/priv/errors var/lib/mobilizon/www
|
||||
_build/prod/rel/mobilizon usr/share
|
||||
debian/mobilizon_ctl bin
|
||||
|
Loading…
Reference in New Issue
Block a user