2022-04-30 21:19:50 +02:00
|
|
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
|
|
|
location __PATH__/ {
|
|
|
|
|
|
|
|
# Path to source
|
2022-09-02 01:04:03 +02:00
|
|
|
alias __FINALPATH__/live/public/;
|
2022-04-30 21:19:50 +02:00
|
|
|
|
2022-05-05 16:47:03 +02:00
|
|
|
client_max_body_size 32M;
|
2022-04-30 21:19:50 +02:00
|
|
|
|
2022-05-05 16:47:03 +02:00
|
|
|
passenger_enabled on;
|
|
|
|
passenger_ruby /opt/rbenv/shims/ruby;
|
|
|
|
passenger_app_env production;
|
2022-04-30 21:19:50 +02:00
|
|
|
|
|
|
|
# Include SSOWAT user panel.
|
|
|
|
include conf.d/yunohost_panel.conf.inc;
|
|
|
|
}
|
2022-05-05 16:47:03 +02:00
|
|
|
|
|
|
|
location __PATH__/decidim-packs/ {
|
|
|
|
|
|
|
|
# Path to source
|
2022-09-02 01:04:03 +02:00
|
|
|
alias __FINALPATH__/live/public/decidim-packs/;
|
2022-05-05 16:47:03 +02:00
|
|
|
gzip_static on;
|
|
|
|
expires max;
|
|
|
|
more_set_headers "Cache-Control: public";
|
|
|
|
}
|