Files
laragon/etc/nginx/sites-enabled/auto.hoho.dev.conf
2018-07-18 11:22:49 +07:00

31 lines
817 B
Plaintext

server {
listen 80;
server_name hoho.dev *.hoho.dev;
root "C:/laragon-3.1/www/hoho/";
index index.html index.htm index.php;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass php_upstream;
#fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
charset utf-8;
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
location ~ /\.ht {
deny all;
}
}
# This file is auto-generated.
# If you want Laragon to respect your changes, just remove the [auto.] prefix
# If you want to use SSL, enable it by going to Menu > Nginx > SSL > Enabled