This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 80; | |
| server_name example.dev; | |
| root /var/www/example.dev/; | |
| access_log /var/log/nginx/access_example.log main; | |
| location / { | |
| include /etc/nginx/conf.d/php-fpm; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 443; | |
| server_name example-ssl.dev; | |
| root /var/www/example.dev; | |
| access_log /var/log/nginx/access_example_SSL.log main; | |
| ssl on; | |
| ssl_certificate ssl/localhost.crt; | |
| ssl_certificate_key ssl/localhost.key; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| worker_processes 1; | |
| error_log /var/log/nginx/error.log debug; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| include mime.types; |
NewerOlder