1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/keeweb_ynh.git synced 2024-09-03 19:26:33 +02:00
keeweb_ynh/conf/nginx.conf

10 lines
482 B
Nginx Configuration File
Raw Normal View History

2018-11-30 14:47:44 +01:00
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
2022-02-04 15:22:16 +01:00
2019-02-26 23:58:19 +01:00
alias __FINALPATH__/;
2016-03-01 10:47:41 +01:00
2018-11-30 14:47:44 +01:00
index index.html ;
2016-03-01 10:47:41 +01:00
more_set_headers "Content-Security-Policy : default-src 'self'; font-src data:; script-src __DOMAIN__ 'unsafe-inline' 'unsafe-eval'; style-src 'unsafe-inline' __DOMAIN__ blob:; connect-src 'self' ws: https:; child-src 'self' blob:; worker-src 'self' blob:; img-src 'self' data: blob: https://services.keeweb.info/; object-src 'none'; form-action 'none';";
2016-03-01 10:47:41 +01:00
}