From a419fb11feec3735c75a0ac02c82d6dd609fdd60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Popowicz?= Date: Sun, 29 Nov 2020 09:14:04 +0100 Subject: [PATCH] Removing Ngrok stuff from proxy stubs. --- cli/stubs/proxy.valet.conf | 34 ------------------------------- cli/stubs/secure.proxy.valet.conf | 34 ------------------------------- 2 files changed, 68 deletions(-) diff --git a/cli/stubs/proxy.valet.conf b/cli/stubs/proxy.valet.conf index 1fa9136..e2dfd7f 100644 --- a/cli/stubs/proxy.valet.conf +++ b/cli/stubs/proxy.valet.conf @@ -43,37 +43,3 @@ server { deny all; } } - -server { - listen 127.0.0.1:60; - server_name VALET_SITE www.VALET_SITE *.VALET_SITE; - root /; - charset utf-8; - client_max_body_size 128M; - - add_header X-Robots-Tag 'noindex, nofollow, nosnippet, noarchive'; - - location /VALET_STATIC_PREFIX/ { - internal; - alias /; - try_files $uri $uri/; - } - - access_log off; - error_log "VALET_HOME_PATH/Log/VALET_SITE-error.log"; - - error_page 404 "VALET_SERVER_PATH"; - - location / { - proxy_pass VALET_PROXY_HOST; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - } - - location ~ /\.ht { - deny all; - } -} - diff --git a/cli/stubs/secure.proxy.valet.conf b/cli/stubs/secure.proxy.valet.conf index 4ae69d8..22733b2 100644 --- a/cli/stubs/secure.proxy.valet.conf +++ b/cli/stubs/secure.proxy.valet.conf @@ -53,37 +53,3 @@ server { deny all; } } - -server { - listen 127.0.0.1:60; - server_name VALET_SITE www.VALET_SITE *.VALET_SITE; - root /; - charset utf-8; - client_max_body_size 128M; - - add_header X-Robots-Tag 'noindex, nofollow, nosnippet, noarchive'; - - location /VALET_STATIC_PREFIX/ { - internal; - alias /; - try_files $uri $uri/; - } - - access_log off; - error_log "VALET_HOME_PATH/Log/VALET_SITE-error.log"; - - error_page 404 "VALET_SERVER_PATH"; - - location / { - proxy_pass VALET_PROXY_HOST; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - } - - location ~ /\.ht { - deny all; - } -} -