diff --git a/conf/nginx.conf b/conf/nginx.conf index a0ac363..7a2f0e8 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -18,7 +18,7 @@ location __PATH__/ { proxy_pass http://localhost:__PORT__; location ~* \.(css|js)$ { - root __FINALPATH__/__APP__/priv/static; + root __FINALPATH__/live/priv/static; etag off; access_log off; more_set_headers "Cache-Control: public, max-age=31536000, immutable"; @@ -38,6 +38,6 @@ location __PATH__/ { } location @error { - root __FINALPATH__/__APP__/priv/errors; + root __FINALPATH__/lilve/priv/errors; try_files /error.html 502; } diff --git a/conf/systemd.service b/conf/systemd.service index b93a07e..e4c6deb 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -4,7 +4,7 @@ After=network.target postgresql.service [Service] User=__APP__ -WorkingDirectory=__FINALPATH__/__APP__/ +WorkingDirectory=__FINALPATH__/live/ ExecStart=/usr/bin/env mix phx.server ExecReload=/bin/kill $MAINPID KillMode=process