Skip to content

Commit b64b9bd

Browse files
Removing Ngrok stuff from proxy stubs.
1 parent bfe95c2 commit b64b9bd

File tree

2 files changed

+0
-78
lines changed

2 files changed

+0
-78
lines changed

cli/stubs/secure.proxy.valet.conf

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -55,38 +55,3 @@ server {
5555
deny all;
5656
}
5757
}
58-
59-
server {
60-
listen 127.0.0.1:60;
61-
#listen VALET_LOOPBACK:60; # valet loopback
62-
server_name VALET_SITE www.VALET_SITE *.VALET_SITE;
63-
root /;
64-
charset utf-8;
65-
client_max_body_size 128M;
66-
67-
add_header X-Robots-Tag 'noindex, nofollow, nosnippet, noarchive';
68-
69-
location /VALET_STATIC_PREFIX/ {
70-
internal;
71-
alias /;
72-
try_files $uri $uri/;
73-
}
74-
75-
access_log off;
76-
error_log "VALET_HOME_PATH/Log/VALET_SITE-error.log";
77-
78-
error_page 404 "VALET_SERVER_PATH";
79-
80-
location / {
81-
proxy_pass VALET_PROXY_HOST;
82-
proxy_set_header Host $host;
83-
proxy_set_header X-Real-IP $remote_addr;
84-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
85-
proxy_set_header X-Forwarded-Proto $scheme;
86-
}
87-
88-
location ~ /\.ht {
89-
deny all;
90-
}
91-
}
92-

cli/stubs/secure.valet.conf

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -48,46 +48,3 @@ server {
4848
deny all;
4949
}
5050
}
51-
52-
server {
53-
listen 127.0.0.1:60;
54-
#listen VALET_LOOPBACK:60; # valet loopback
55-
server_name VALET_SITE www.VALET_SITE *.VALET_SITE;
56-
root /;
57-
charset utf-8;
58-
client_max_body_size 128M;
59-
60-
add_header X-Robots-Tag 'noindex, nofollow, nosnippet, noarchive';
61-
62-
location /VALET_STATIC_PREFIX/ {
63-
internal;
64-
alias /;
65-
try_files $uri $uri/;
66-
}
67-
68-
location / {
69-
rewrite ^ "VALET_SERVER_PATH" last;
70-
}
71-
72-
location = /favicon.ico { access_log off; log_not_found off; }
73-
location = /robots.txt { access_log off; log_not_found off; }
74-
75-
access_log off;
76-
error_log "VALET_HOME_PATH/Log/nginx-error.log";
77-
78-
error_page 404 "VALET_SERVER_PATH";
79-
80-
location ~ [^/]\.php(/|$) {
81-
fastcgi_split_path_info ^(.+\.php)(/.+)$;
82-
fastcgi_pass "unix:VALET_HOME_PATH/valet.sock";
83-
fastcgi_index "VALET_SERVER_PATH";
84-
include fastcgi_params;
85-
fastcgi_param SCRIPT_FILENAME "VALET_SERVER_PATH";
86-
fastcgi_param PATH_INFO $fastcgi_path_info;
87-
}
88-
89-
location ~ /\.ht {
90-
deny all;
91-
}
92-
}
93-

0 commit comments

Comments
 (0)