-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ojullien <[email protected]>
- Loading branch information
Showing
8 changed files
with
130 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v1.0.0-20210220 | ||
v1.0.0-20210223 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## ----------------------------------------------------- | ||
## NGINX 1.x | ||
## User proxy default configuration file. | ||
## | ||
## @context http | ||
## @module ngx_http_ssl_module | ||
## ----------------------------------------------------- | ||
|
||
# Sets the HTTP protocol version for proxying. | ||
proxy_http_version 1.1; | ||
|
||
# Defines a timeout for establishing a connection with a proxied server. | ||
proxy_connect_timeout 60s; | ||
|
||
# Sets a timeout for transmitting a request to the proxied server. | ||
proxy_send_timeout 360s; | ||
|
||
# Defines a timeout for reading a response from the proxied server. | ||
proxy_read_timeout 60s; | ||
|
||
# By default, nginx does not pass the header fields “Date”, “Server”, | ||
# “X-Pad”, and “X-Accel-...” from the response of a proxied server to a client. | ||
proxy_hide_header X-Powered-By; | ||
#proxy_hide_header Etag; | ||
|
||
# Sets the text that should be changed in the “Location” and “Refresh” header fields of a proxied server response. | ||
proxy_redirect off; | ||
|
||
# Defines conditions under which the response will not be taken from a cache. | ||
#proxy_cache_bypass $http_upgrade; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
## ----------------------------------------------------- | ||
## NGINX 1.x | ||
## Directives for log configuration. | ||
## Directives for logging configuration. | ||
## | ||
## @context virtual host | ||
## @module core, log_config_module | ||
## @author Olivier Jullien <https://github.com/ojullien> | ||
## @Context server | ||
## @Module ngx_http_core_module, ngx_http_log_module | ||
## ----------------------------------------------------- | ||
|
||
# Log | ||
LogLevel warn | ||
ErrorLog ${APACHE_LOG_DIR}/${USER_SITE_DIR}/error.log | ||
CustomLog ${APACHE_LOG_DIR}/${USER_SITE_DIR}/access.log proxy_combined env=!donotlog | ||
#CustomLog ${APACHE_LOG_DIR}/${USER_SITE_DIR}/deflate.log deflate | ||
error_log /var/log/nginx/reverseproxy.tld/error.log warn; | ||
access_log /var/log/nginx/reverseproxy.tld/access.log proxy_combined if=$loggable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.