-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nginx): review and rearrange conf folders
- Loading branch information
Showing
24 changed files
with
35 additions
and
39 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
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
12 changes: 12 additions & 0 deletions
12
packages/container/nginx/conf/templates/10-event.conf.template
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,12 @@ | ||
events { | ||
# Specifies the connection processing method to use (https://nginx.org/en/docs/events.html). | ||
# There is normally no need to specify it explicitly, because nginx will by default use the most efficient method. | ||
# use epoll; | ||
|
||
# Sets the maximum number of simultaneous connections that can be opened by a worker process. | ||
# Should be < worker_rlimit_nofile. | ||
worker_connections $NGINX_WORKER_CONNECTIONS; | ||
|
||
# accept as many connections as possible, may flood worker connections if set too low -- for testing environment | ||
# multi_accept on; | ||
} |
3 changes: 0 additions & 3 deletions
3
packages/container/nginx/conf/templates/10-http.conf.template
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
packages/container/nginx/conf/templates/20-http-include.conf.template
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,3 @@ | ||
http { | ||
include /etc/nginx/conf.d/http.d/*.conf; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...emplates/http/40-map-expire.conf.template → ...plates/http.d/40-map-expire.conf.template
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
...lates/http/server/20-header.conf.template → .../templates/http.d/80-header.conf.template
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
8 changes: 0 additions & 8 deletions
8
packages/container/nginx/conf/templates/http/90-server.default.conf.template
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
packages/container/nginx/conf/templates/http/server.default/00-main.conf.template
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
packages/container/nginx/conf/templates/server/00-default.conf.template
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,7 @@ | ||
server { | ||
listen 80 default_server; | ||
server_name _; | ||
root /var/www/html; | ||
|
||
include /etc/nginx/conf.d/location.d/*.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