PHP Classes

File: etc/dev/nginx/nginx.conf

Recommend this page to a friend!
  Classes of Niko   PHP HouseHold   etc/dev/nginx/nginx.conf   Download  
File: etc/dev/nginx/nginx.conf
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP HouseHold
Manage the stock of groceries in a house
Author: By
Last change:
Date: 2 years ago
Size: 1,554 bytes
 

Contents

Class file image Download
server { server_name hh.local; listen [::]:443 ssl ipv6only=on; listen 443 ssl http2; root /app/public; location / { # try to serve file directly, fallback to index.php try_files $uri /index.php$is_args$args; } ssl_certificate /etc/nginx/nginx.crt; ssl_certificate_key /etc/nginx/nginx.key; ssl_dhparam /etc/nginx/nginx.pem; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH"; ssl_ecdh_curve secp384r1; ssl_session_cache shared:SSL:10m; ssl_session_tickets off; ssl_stapling on; ssl_stapling_verify on; resolver 1.1.1.1 8.8.8.8 valid=300s; resolver_timeout 5s; location ~ ^/index\.php(/|$) { fastcgi_pass php:9000; fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; fastcgi_param DOCUMENT_ROOT $realpath_root; } } server { server_name hh.local; root /app/public; location / { # try to serve file directly, fallback to index.php try_files $uri /index.php$is_args$args; } location ~ ^/index\.php(/|$) { fastcgi_pass php:9000; fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; fastcgi_param DOCUMENT_ROOT $realpath_root; } }