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

Add loopback command.

This commit is contained in:
Mikaël Popowicz
2021-02-21 23:21:12 +01:00
parent cc01db7eb9
commit 2d5ee9d7cc
12 changed files with 144 additions and 31 deletions

View File

@@ -1,13 +1,13 @@
# valet stub: proxy.valet.conf
server {
listen 127.0.0.1:80;
listen VALET_LOOPBACK: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;
listen VALET_LOOPBACK:443 ssl http2;
server_name VALET_SITE www.VALET_SITE *.VALET_SITE;
root /;
charset utf-8;
@@ -55,7 +55,7 @@ server {
}
server {
listen 127.0.0.1:60;
listen VALET_LOOPBACK:60;
server_name VALET_SITE www.VALET_SITE *.VALET_SITE;
root /;
charset utf-8;