Skip to content

Commit

Permalink
Merge pull request #208 from RohanSakhale/fix-routing-proxies-links
Browse files Browse the repository at this point in the history
Fix for serving sites when proxies are added
  • Loading branch information
cretueusebiu authored Dec 21, 2023
2 parents e10e89d + 2ec25b6 commit 3b91bf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cli/stubs/secure.valet.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
server {
listen 80;
listen 127.0.0.1:80;
server_name VALET_SITE www.VALET_SITE *.VALET_SITE;
return 302 https://$host$request_uri;
}

server {
listen 443 ssl http2;
listen 127.0.0.1:443 ssl http2;
server_name VALET_SITE www.VALET_SITE *.VALET_SITE;
root /;
charset utf-8;
Expand Down Expand Up @@ -49,7 +49,7 @@ server {
}

server {
listen 60;
listen 127.0.0.1:60;
server_name VALET_SITE www.VALET_SITE *.VALET_SITE;
root /;
charset utf-8;
Expand Down
2 changes: 1 addition & 1 deletion cli/stubs/valet.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server {
listen 80 default_server;
listen 127.0.0.1:80 default_server;
root /;
charset utf-8;
client_max_body_size 128M;
Expand Down

0 comments on commit 3b91bf6

Please sign in to comment.