updated nginx state
This commit is contained in:
parent
ced07392af
commit
25e21f2042
@ -58,6 +58,7 @@ nginx-sites-available-{{ key }}:
|
|||||||
root_dir: {{ vhost.root_dir|default(None) }}
|
root_dir: {{ vhost.root_dir|default(None) }}
|
||||||
internal_access: {{ vhost.internal_access|default(false) }}
|
internal_access: {{ vhost.internal_access|default(false) }}
|
||||||
dirs: {{ vhost.dirs|default([]) }}
|
dirs: {{ vhost.dirs|default([]) }}
|
||||||
|
php_socket_file: {{ nginx.config.php_socket_file }}
|
||||||
|
|
||||||
nginx-site-enabled-{{ key }}:
|
nginx-site-enabled-{{ key }}:
|
||||||
file.symlink:
|
file.symlink:
|
||||||
|
@ -4,7 +4,7 @@ ssl_certificate /etc/acme/certs/paulbsd.com.cert;
|
|||||||
ssl_certificate_key /etc/acme/keys/paulbsd.com.key;
|
ssl_certificate_key /etc/acme/keys/paulbsd.com.key;
|
||||||
ssl_session_timeout 5m;
|
ssl_session_timeout 5m;
|
||||||
#ssl_protocols SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2;
|
#ssl_protocols SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2;
|
||||||
ssl_protocols TLSv1.2;
|
ssl_protocols TLSv1.3 TLSv1.2;
|
||||||
#ssl_ciphers HIGH:!aNULL:!MD5;
|
#ssl_ciphers HIGH:!aNULL:!MD5;
|
||||||
#ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384;
|
#ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384;
|
||||||
ssl_ciphers EECDH+AESGCM:EECDH+CHACHA20;
|
ssl_ciphers EECDH+AESGCM:EECDH+CHACHA20;
|
||||||
|
@ -23,7 +23,7 @@ server {
|
|||||||
|
|
||||||
location ~ \.php?$ {
|
location ~ \.php?$ {
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_pass unix:{{ nginx.config.php_socket_file }};
|
fastcgi_pass unix:{{ php_socket_file }};
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user