-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor default server. Add default server template. Add default ser…
…ver to every template
- Loading branch information
1 parent
996e682
commit c632f98
Showing
12 changed files
with
41 additions
and
25 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 |
---|---|---|
|
@@ -63,6 +63,7 @@ SERVER_REPOSITORY=matthewpatell/universal-docker-server:3.9-dev | |
#DOMAIN_COVERAGE=coverage.sampledomain.com | ||
#DOMAIN_OPCACHE=opcache.sampledomain.com | ||
#DOMAIN_COMMON=sampledomain.com | ||
#DOMAIN_DEFAULT= | ||
|
||
# SSL DOMAINS | ||
#SSL_DOMAINS[0]="[email protected] :api.sampledomain.com coverage.sampledomain.com opcache.sampledomain.com sampledomain.com:" | ||
|
@@ -77,6 +78,8 @@ GIT_AUTHTOKEN= | |
|
||
# HOST NGINX SUPPORT (for create proxies nginx configs on host) | ||
HOST_NGINX_PROXIES=no | ||
# enable default nginx host | ||
NGINX_DEFAULT_HOST=yes | ||
# Set yes for keep created conf file | ||
HOST_NGINX_KEEP_CONF=no | ||
HOST_NGINX_TEMPLATE_PATH=${VENDOR_DIR}/conf/nginx-proxy.conf | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Default host | ||
server { | ||
listen 80 default_server; | ||
#listen 443; need ssl certificates | ||
|
||
location = /health-check { | ||
add_header Content-Type text/plain; | ||
|
||
return 200; | ||
} | ||
|
||
location / { | ||
return 404; | ||
} | ||
} |
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
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