added tracking snippet
This commit is contained in:
@@ -3868,6 +3868,7 @@ maybe chmod 0755 'systemd/system/multi-user.target.wants'
|
||||
maybe chmod 0755 'systemd/system/network-online.target.wants'
|
||||
maybe chmod 0644 'systemd/system/nextcloudcron.service'
|
||||
maybe chmod 0644 'systemd/system/nextcloudcron.timer'
|
||||
maybe chmod 0644 'systemd/system/pm2-root.service'
|
||||
maybe chmod 0755 'systemd/system/sysinit.target.wants'
|
||||
maybe chmod 0755 'systemd/system/sysstat.service.wants'
|
||||
maybe chmod 0755 'systemd/system/timers.target.wants'
|
||||
|
||||
@@ -36,7 +36,7 @@ server {
|
||||
add_header X-Frame-Options "SAMEORIGIN";
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header Content-Security-Policy "default-src 'none'; child-src 'self'; connect-src 'self'; img-src 'self' data: https: *.gravatar.com; script-src 'self' 'unsafe-eval' 'unsafe-inline' cdn.jsdelivr.net api.instagram.com pagead2.googlesyndication.com; style-src 'self' 'unsafe-inline' https: fonts.googleapis.com; font-src 'self' data: https: fonts.googleapis.com themes.googleusercontent.com; frame-ancestors 'self'; base-uri 'self'; form-action 'self' www.paypal.com; media-src https:;";
|
||||
add_header Content-Security-Policy "default-src 'none'; child-src 'self'; connect-src 'self' localhost umami.solusar.de; img-src 'self' data: https: *.gravatar.com; script-src 'self' 'unsafe-eval' 'unsafe-inline' localhost umami.solusar.de cdn.jsdelivr.net api.instagram.com pagead2.googlesyndication.com; style-src 'self' 'unsafe-inline' https: fonts.googleapis.com; font-src 'self' data: https: fonts.googleapis.com themes.googleusercontent.com; frame-ancestors 'self'; base-uri 'self'; form-action 'self' www.paypal.com; media-src https:;";
|
||||
|
||||
#limit_req zone=one burst=10;
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
/etc/systemd/system/pm2-root.service
|
||||
@@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=PM2 process manager
|
||||
Documentation=https://pm2.keymetrics.io/
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
User=root
|
||||
LimitNOFILE=infinity
|
||||
LimitNPROC=infinity
|
||||
LimitCORE=infinity
|
||||
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
|
||||
Environment=PM2_HOME=/root/.pm2
|
||||
PIDFile=/root/.pm2/pm2.pid
|
||||
Restart=on-failure
|
||||
|
||||
ExecStart=/usr/local/share/.config/yarn/global/node_modules/pm2/bin/pm2 resurrect
|
||||
ExecReload=/usr/local/share/.config/yarn/global/node_modules/pm2/bin/pm2 reload all
|
||||
ExecStop=/usr/local/share/.config/yarn/global/node_modules/pm2/bin/pm2 kill
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user