mod: remove nginx line

This commit is contained in:
Didier Slof 2023-02-01 12:35:39 +01:00
parent aad0489dbf
commit db98ee173e
Signed by: didier
GPG key ID: 01E71F18AA4398E5

View file

@ -43,7 +43,7 @@ server {
set $api_domain "${main_domain}";
set $files_domain "${main_domain}";
# nginx doesn't let you set server_name via variables, so you need to hardcode your domains here
# nginx doesn't let you set server_name via variables, so you need to hardcore your domains here
server_name pad.ixvd.net pad.sandbox.neo.ixvd.net;
# You'll need to Set the path to your certificates and keys here
@ -162,7 +162,7 @@ server {
# because of bugs in Chromium-based browsers that incorrectly ignore headers that are supposed to enable
# the use of some modern APIs that we require when javascript is run in a cross-origin context.
# We've applied other sandboxing techniques to mitigate the risk of running WebAssembly in this privileged scope
if ($uri ~ ^\/unsafeiframe\/inner\.html.*$) { set $unsafe 1; }
# if ($uri ~ ^\/unsafeiframe\/inner\.html.*$) { set $unsafe 1; }
# privileged contexts allow a few more rights than unprivileged contexts, though limits are still applied
if ($unsafe) {