1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-09-07 18:23:30 -04:00

Remove Expect-CT

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2022-12-26 10:07:13 -05:00
parent f2f5ed3822
commit bf23148337
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2
2 changed files with 5 additions and 1 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.DS_Store

View File

@ -186,6 +186,9 @@ EOF
dnf install -y tuned dnf install -y tuned
tune-adm profile latency-performance tune-adm profile latency-performance
systemctl disable --now sshd.service
systemctl enable --now sshd.socket
} }
install_pterodactyl() { install_pterodactyl() {
@ -372,7 +375,6 @@ server {
add_header Cross-Origin-Resource-Policy same-origin; add_header Cross-Origin-Resource-Policy same-origin;
add_header Cross-Origin-Opener-Policy same-origin; add_header Cross-Origin-Opener-Policy same-origin;
add_header X-XSS-Protection "0" always; add_header X-XSS-Protection "0" always;
add_header Expect-CT "enforce, max-age=63072000";
location / { location / {
try_files $uri $uri/ /index.php?$query_string; try_files $uri $uri/ /index.php?$query_string;