mod: remove nginx line
This commit is contained in:
parent
aad0489dbf
commit
db98ee173e
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ server {
|
||||||
set $api_domain "${main_domain}";
|
set $api_domain "${main_domain}";
|
||||||
set $files_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;
|
server_name pad.ixvd.net pad.sandbox.neo.ixvd.net;
|
||||||
|
|
||||||
# You'll need to Set the path to your certificates and keys here
|
# 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
|
# 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.
|
# 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
|
# 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
|
# privileged contexts allow a few more rights than unprivileged contexts, though limits are still applied
|
||||||
if ($unsafe) {
|
if ($unsafe) {
|
||||||
|
|
Reference in a new issue