Skip to content

Commit fcf44d2

Browse files
committed
Fix NGINX
1 parent 8133eef commit fcf44d2

File tree

10 files changed

+10
-18
lines changed

10 files changed

+10
-18
lines changed

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
run: |
5252
docker run localhost:5000/kooldev/php:${{ matrix.version }}${{ matrix.type }} php -r "extension_loaded('swoole') or die(1);"
5353
docker run localhost:5000/kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }} nginx -v
54+
docker run localhost:5000/kooldev/php:${{ matrix.version }}-nginx${{ matrix.type }} nginx -t
5455
5556
- name: Tests (dev)
5657
if: matrix.type == ''

8.1-swoole-nginx-prod/default.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ server {
6161
add_header X-Frame-Options "SAMEORIGIN";
6262

6363
# basic H5BP suggestions
64-
include h5bp/internet_explorer/x-ua-compatible.conf;
6564
include h5bp/security/referrer-policy.conf;
6665
include h5bp/security/x-content-type-options.conf;
67-
include h5bp/security/x-xss-protection.conf;
66+
include h5bp/cross-origin/requests.conf;
6867

6968
# performance enhancements (mostly for caching static data)
7069
include h5bp/web_performance/cache-file-descriptors.conf;

8.1-swoole-nginx/default.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ server {
6161
add_header X-Frame-Options "SAMEORIGIN";
6262

6363
# basic H5BP suggestions
64-
include h5bp/internet_explorer/x-ua-compatible.conf;
6564
include h5bp/security/referrer-policy.conf;
6665
include h5bp/security/x-content-type-options.conf;
67-
include h5bp/security/x-xss-protection.conf;
66+
include h5bp/cross-origin/requests.conf;
6867

6968
# performance enhancements (mostly for caching static data)
7069
include h5bp/web_performance/cache-file-descriptors.conf;

8.2-swoole-nginx-prod/default.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ server {
6161
add_header X-Frame-Options "SAMEORIGIN";
6262

6363
# basic H5BP suggestions
64-
include h5bp/internet_explorer/x-ua-compatible.conf;
6564
include h5bp/security/referrer-policy.conf;
6665
include h5bp/security/x-content-type-options.conf;
67-
include h5bp/security/x-xss-protection.conf;
66+
include h5bp/cross-origin/requests.conf;
6867

6968
# performance enhancements (mostly for caching static data)
7069
include h5bp/web_performance/cache-file-descriptors.conf;

8.2-swoole-nginx/default.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ server {
6161
add_header X-Frame-Options "SAMEORIGIN";
6262

6363
# basic H5BP suggestions
64-
include h5bp/internet_explorer/x-ua-compatible.conf;
6564
include h5bp/security/referrer-policy.conf;
6665
include h5bp/security/x-content-type-options.conf;
67-
include h5bp/security/x-xss-protection.conf;
66+
include h5bp/cross-origin/requests.conf;
6867

6968
# performance enhancements (mostly for caching static data)
7069
include h5bp/web_performance/cache-file-descriptors.conf;

8.3-swoole-nginx-prod/default.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ server {
6161
add_header X-Frame-Options "SAMEORIGIN";
6262

6363
# basic H5BP suggestions
64-
include h5bp/internet_explorer/x-ua-compatible.conf;
6564
include h5bp/security/referrer-policy.conf;
6665
include h5bp/security/x-content-type-options.conf;
67-
include h5bp/security/x-xss-protection.conf;
66+
include h5bp/cross-origin/requests.conf;
6867

6968
# performance enhancements (mostly for caching static data)
7069
include h5bp/web_performance/cache-file-descriptors.conf;

8.3-swoole-nginx/default.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ server {
6161
add_header X-Frame-Options "SAMEORIGIN";
6262

6363
# basic H5BP suggestions
64-
include h5bp/internet_explorer/x-ua-compatible.conf;
6564
include h5bp/security/referrer-policy.conf;
6665
include h5bp/security/x-content-type-options.conf;
67-
include h5bp/security/x-xss-protection.conf;
66+
include h5bp/cross-origin/requests.conf;
6867

6968
# performance enhancements (mostly for caching static data)
7069
include h5bp/web_performance/cache-file-descriptors.conf;

8.4-swoole-nginx-prod/default.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ server {
6161
add_header X-Frame-Options "SAMEORIGIN";
6262

6363
# basic H5BP suggestions
64-
include h5bp/internet_explorer/x-ua-compatible.conf;
6564
include h5bp/security/referrer-policy.conf;
6665
include h5bp/security/x-content-type-options.conf;
67-
include h5bp/security/x-xss-protection.conf;
66+
include h5bp/cross-origin/requests.conf;
6867

6968
# performance enhancements (mostly for caching static data)
7069
include h5bp/web_performance/cache-file-descriptors.conf;

8.4-swoole-nginx/default.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ server {
6161
add_header X-Frame-Options "SAMEORIGIN";
6262

6363
# basic H5BP suggestions
64-
include h5bp/internet_explorer/x-ua-compatible.conf;
6564
include h5bp/security/referrer-policy.conf;
6665
include h5bp/security/x-content-type-options.conf;
67-
include h5bp/security/x-xss-protection.conf;
66+
include h5bp/cross-origin/requests.conf;
6867

6968
# performance enhancements (mostly for caching static data)
7069
include h5bp/web_performance/cache-file-descriptors.conf;

template/default-tmpl.blade.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@
6161
add_header X-Frame-Options "SAMEORIGIN";
6262

6363
# basic H5BP suggestions
64-
include h5bp/internet_explorer/x-ua-compatible.conf;
6564
include h5bp/security/referrer-policy.conf;
6665
include h5bp/security/x-content-type-options.conf;
67-
include h5bp/security/x-xss-protection.conf;
66+
include h5bp/cross-origin/requests.conf;
6867

6968
# performance enhancements (mostly for caching static data)
7069
include h5bp/web_performance/cache-file-descriptors.conf;

0 commit comments

Comments
 (0)