Quartz
Build the files on a local machine with npx quartz build
Install/use a My_Webapp-install on my YunoHost-server
SCP the /public folder to /var/www/my_webapp__x/www
This configuration works and maintains all default settings
:
/etc/nginx/conf.d/test.joostagterhoek.nl.d/my_webapp__2.conf
#sub_path_only rewrite ^/$ / permanent;
location / {
alias /var/www/my_webapp__2/www/public/;
try_files $uri $uri.html $uri/ =404;
## DEFAULT SETTINGS BELOW, TEST THEM!
# Default indexes and catch-all
index index.php index.html;
# Prevent useless logs
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# Deny access to hidden files and directories
location ~ ^/(.+/|)\.(?!well-known\/) {
deny all;
}
include conf.d/test.joostagterhoek.nl.d/my_webapp__2.d/*.conf;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}