Now with HTTP2 enabled correctly everywhere.
This commit is contained in:
@@ -25,6 +25,8 @@ server {
|
|||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
|
|
||||||
server_name nextcloud.oneskyit.com;
|
server_name nextcloud.oneskyit.com;
|
||||||
|
|
||||||
access_log /logs/nginx/access_oneskyit_nextcloud.log;
|
access_log /logs/nginx/access_oneskyit_nextcloud.log;
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ server {
|
|||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
|
|
||||||
# server_name ${DOCKER_PHPMYADMIN_SERVER_NAME};
|
# server_name ${DOCKER_PHPMYADMIN_SERVER_NAME};
|
||||||
server_name phpmyadmin-oneskyit.localhost phpmyadmin.oneskyit.com dev-phpmyadmin.oneskyit.com test-phpmyadmin.oneskyit.com;
|
server_name phpmyadmin-oneskyit.localhost phpmyadmin.oneskyit.com dev-phpmyadmin.oneskyit.com test-phpmyadmin.oneskyit.com;
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ server {
|
|||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
|
|
||||||
server_name ${DOCKER_AE_API_V5_SERVER_NAME} v5-fastapi.localhost api-v5.localhost;
|
server_name ${DOCKER_AE_API_V5_SERVER_NAME} v5-fastapi.localhost api-v5.localhost;
|
||||||
# server_name
|
# server_name
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ server {
|
|||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
|
|
||||||
server_name
|
server_name
|
||||||
${DOCKER_AE_API_SERVER_NAME}
|
${DOCKER_AE_API_SERVER_NAME}
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ server {
|
|||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
|
|
||||||
# The Docker nginx envsubst with templates does not work for multiple server names.
|
# The Docker nginx envsubst with templates does not work for multiple server names.
|
||||||
# server_name
|
# server_name
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ server {
|
|||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
|
|
||||||
# server_name docker.oneskyit.com ${DOCKER_OSIT_SERVER_NAME};
|
# server_name docker.oneskyit.com ${DOCKER_OSIT_SERVER_NAME};
|
||||||
server_name docker.oneskyit.com dev-docker.oneskyit.com test-docker.oneskyit.com prod-docker.oneskyit.com ${DOCKER_OSIT_SERVER_NAME};
|
server_name docker.oneskyit.com dev-docker.oneskyit.com test-docker.oneskyit.com prod-docker.oneskyit.com ${DOCKER_OSIT_SERVER_NAME};
|
||||||
|
|||||||
@@ -7,22 +7,22 @@ server {
|
|||||||
# server {
|
# server {
|
||||||
# listen 80;
|
# listen 80;
|
||||||
# server_name _;
|
# server_name _;
|
||||||
#
|
#
|
||||||
# access_log /logs/nginx/access_docker.log;
|
# access_log /logs/nginx/access_docker.log;
|
||||||
# error_log /logs/nginx/error_docker.log;
|
# error_log /logs/nginx/error_docker.log;
|
||||||
#
|
#
|
||||||
# root /srv/html_php;
|
# root /srv/html_php;
|
||||||
#
|
#
|
||||||
# index index.html index.htm index.php;
|
# index index.html index.htm index.php;
|
||||||
#
|
#
|
||||||
# # location / {
|
# # location / {
|
||||||
# # # root /usr/share/nginx/html;
|
# # # root /usr/share/nginx/html;
|
||||||
# # index index.html index.htm;
|
# # index index.html index.htm;
|
||||||
# # }
|
# # }
|
||||||
#
|
#
|
||||||
# location ~ \.php$ {
|
# location ~ \.php$ {
|
||||||
# index index.html index.htm index.php;
|
# index index.html index.htm index.php;
|
||||||
#
|
#
|
||||||
# try_files $uri =404;
|
# try_files $uri =404;
|
||||||
# fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
# fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
# fastcgi_pass php7:9000;
|
# fastcgi_pass php7:9000;
|
||||||
@@ -31,22 +31,22 @@ server {
|
|||||||
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
# fastcgi_param PATH_INFO $fastcgi_path_info;
|
# fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
# }
|
# }
|
||||||
#
|
#
|
||||||
# #error_page 404 /404.html;
|
# #error_page 404 /404.html;
|
||||||
#
|
#
|
||||||
# # redirect server error pages to the static page /50x.html
|
# # redirect server error pages to the static page /50x.html
|
||||||
# #
|
# #
|
||||||
# # error_page 500 502 503 504 /50x.html;
|
# # error_page 500 502 503 504 /50x.html;
|
||||||
# # location = /50x.html {
|
# # location = /50x.html {
|
||||||
# # root /usr/share/nginx/html;
|
# # root /usr/share/nginx/html;
|
||||||
# # }
|
# # }
|
||||||
#
|
#
|
||||||
# # proxy the PHP scripts to Apache listening on 127.0.0.1:80
|
# # proxy the PHP scripts to Apache listening on 127.0.0.1:80
|
||||||
# #
|
# #
|
||||||
# #location ~ \.php$ {
|
# #location ~ \.php$ {
|
||||||
# # proxy_pass http://127.0.0.1;
|
# # proxy_pass http://127.0.0.1;
|
||||||
# #}
|
# #}
|
||||||
#
|
#
|
||||||
# # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
|
# # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
|
||||||
# #
|
# #
|
||||||
# #location ~ \.php$ {
|
# #location ~ \.php$ {
|
||||||
@@ -56,7 +56,7 @@ server {
|
|||||||
# # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
# # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
||||||
# # include fastcgi_params;
|
# # include fastcgi_params;
|
||||||
# #}
|
# #}
|
||||||
#
|
#
|
||||||
# # deny access to .htaccess files, if Apache's document root
|
# # deny access to .htaccess files, if Apache's document root
|
||||||
# # concurs with nginx's one
|
# # concurs with nginx's one
|
||||||
# #
|
# #
|
||||||
@@ -68,7 +68,8 @@ server {
|
|||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
|
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
access_log /logs/nginx/access_docker.log;
|
access_log /logs/nginx/access_docker.log;
|
||||||
@@ -82,28 +83,28 @@ server {
|
|||||||
ssl_certificate /etc/certs/fullchain.pem;
|
ssl_certificate /etc/certs/fullchain.pem;
|
||||||
ssl_certificate_key /etc/certs/privkey.pem;
|
ssl_certificate_key /etc/certs/privkey.pem;
|
||||||
ssl_dhparam /etc/certs/ssl-dhparams.pem;
|
ssl_dhparam /etc/certs/ssl-dhparams.pem;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
return 404;
|
return 404;
|
||||||
}
|
}
|
||||||
|
|
||||||
# root /srv/html_php;
|
# root /srv/html_php;
|
||||||
#
|
#
|
||||||
# index index.php index.html;
|
# index index.php index.html;
|
||||||
#
|
#
|
||||||
# # These two locations remove .html and .php from filenames.
|
# # These two locations remove .html and .php from filenames.
|
||||||
# location / {
|
# location / {
|
||||||
# try_files $uri $uri/ $uri.html $uri.php$is_args$query_string;
|
# try_files $uri $uri/ $uri.html $uri.php$is_args$query_string;
|
||||||
# }
|
# }
|
||||||
#
|
#
|
||||||
# location ~ \.php$ {
|
# location ~ \.php$ {
|
||||||
# root /srv/html_php;
|
# root /srv/html_php;
|
||||||
#
|
#
|
||||||
# # index index.html index.htm index.php;
|
# # index index.html index.htm index.php;
|
||||||
#
|
#
|
||||||
# try_files $uri =404;
|
# try_files $uri =404;
|
||||||
# # try_files $uri $document_root$fastcgi_script_name =404;
|
# # try_files $uri $document_root$fastcgi_script_name =404;
|
||||||
#
|
#
|
||||||
# fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
# fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
# fastcgi_pass php7:9000;
|
# fastcgi_pass php7:9000;
|
||||||
# fastcgi_index index.php;
|
# fastcgi_index index.php;
|
||||||
|
|||||||
Reference in New Issue
Block a user