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

Use sockets instead of port 9000

This commit is contained in:
Korvin Szanto
2016-09-19 19:27:45 -07:00
parent 579e398ea7
commit 909ba9bd12
3 changed files with 4 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ import VALET_HOME_PATH/Caddy/*
# Slight hack, see: https://github.com/mholt/caddy/issues/1020
internal /dev/null
fastcgi / 127.0.0.1:9000 php {
fastcgi / /var/run/valet/fpm.socket php {
index VALET_SERVER_PATH
}

View File

@@ -10,7 +10,7 @@ https://VALET_SITE:443 {
tls VALET_CERT VALET_KEY
fastcgi / 127.0.0.1:9000 php {
fastcgi / /var/run/valet/fpm.socket php {
index VALET_SERVER_PATH
}