updated nginx state
This commit is contained in:
parent
2328adc1db
commit
e23e94d12d
@ -13,6 +13,8 @@ nginx:
|
|||||||
workers: 4
|
workers: 4
|
||||||
http_port: 8080
|
http_port: 8080
|
||||||
https_port: 4443
|
https_port: 4443
|
||||||
|
http_proxy_port: 8081
|
||||||
|
https_proxy_port: 4444
|
||||||
php_socket_file: /run/php/php-fpm.sock
|
php_socket_file: /run/php/php-fpm.sock
|
||||||
subdirs:
|
subdirs:
|
||||||
- auth
|
- auth
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
||||||
{%- from "nginx/map.jinja" import nginx with context %}
|
{%- from "nginx/map.jinja" import nginx with context %}
|
||||||
|
|
||||||
listen {{ nginx.config.http_port }} proxy_protocol;
|
listen {{ nginx.config.http_port }};
|
||||||
listen [::]:{{ nginx.config.http_port }} proxy_protocol;
|
listen [::]:{{ nginx.config.http_port }};
|
||||||
|
listen {{ nginx.config.http_proxy_port }} proxy_protocol;
|
||||||
|
listen [::]:{{ nginx.config.http_proxy_port }} proxy_protocol;
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
||||||
{%- from "nginx/map.jinja" import nginx with context %}
|
{%- from "nginx/map.jinja" import nginx with context %}
|
||||||
|
|
||||||
listen {{ nginx.config.https_port }} ssl http2 proxy_protocol;
|
listen {{ nginx.config.https_port }} ssl http2;
|
||||||
listen [::]:{{ nginx.config.https_port }} ssl http2 proxy_protocol;
|
listen [::]:{{ nginx.config.https_port }} ssl http2;
|
||||||
|
listen {{ nginx.config.https_proxy_port }} ssl http2 proxy_protocol;
|
||||||
|
listen [::]:{{ nginx.config.https_proxy_port }} ssl http2 proxy_protocol;
|
||||||
|
@ -72,11 +72,15 @@ http {
|
|||||||
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml;
|
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen {{ nginx.config.http_port }} default_server proxy_protocol;
|
listen {{ nginx.config.http_port }} default_server;
|
||||||
listen [::]:{{ nginx.config.http_port }} default_server proxy_protocol;
|
listen [::]:{{ nginx.config.http_port }} default_server;
|
||||||
|
listen {{ nginx.config.http_proxy_port }} default_server proxy_protocol;
|
||||||
|
listen [::]:{{ nginx.config.http_proxy_port }} default_server proxy_protocol;
|
||||||
|
|
||||||
listen {{ nginx.config.https_port }} default_server ssl http2 proxy_protocol;
|
listen {{ nginx.config.https_port }} default_server ssl http2;
|
||||||
listen [::]:{{ nginx.config.https_port }} default_server ssl http2 proxy_protocol;
|
listen [::]:{{ nginx.config.https_port }} default_server ssl http2;
|
||||||
|
listen {{ nginx.config.https_proxy_port }} default_server ssl http2 proxy_protocol;
|
||||||
|
listen [::]:{{ nginx.config.https_proxy_port }} default_server ssl http2 proxy_protocol;
|
||||||
|
|
||||||
root /var/www/html;
|
root /var/www/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
Loading…
Reference in New Issue
Block a user