1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 08:40:09 +01:00

Adding ability to create unsecure proxy.

This commit is contained in:
Mikaël Popowicz
2020-11-28 23:22:07 +01:00
parent b01556272d
commit ea777a9e94
8 changed files with 159 additions and 19 deletions

View File

@@ -3,16 +3,9 @@
server {
listen 127.0.0.1:80;
server_name VALET_SITE www.VALET_SITE *.VALET_SITE;
return 301 https://$host$request_uri;
}
server {
listen 127.0.0.1:443 ssl http2;
server_name VALET_SITE www.VALET_SITE *.VALET_SITE;
root /;
charset utf-8;
client_max_body_size 128M;
http2_push_preload on;
location /VALET_STATIC_PREFIX/ {
internal;
@@ -20,9 +13,6 @@ server {
try_files $uri $uri/;
}
ssl_certificate "VALET_CERT";
ssl_certificate_key "VALET_KEY";
access_log off;
error_log "VALET_HOME_PATH/Log/VALET_SITE-error.log";