Skip to content

Commit aba775a

Browse files
committed
Update nginx.conf.template
1 parent a37e4fe commit aba775a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

nginx/templates/nginx.conf.template

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
upstream docker_codeIgniter {
2-
server codeIgniter:9000;
1+
upstream docker_codeigniter {
2+
server codeigniter:9000;
33
}
44

55
server_tokens off;
@@ -45,7 +45,8 @@ server {
4545
# add global x-content-type-options header
4646
add_header X-Content-Type-Options nosniff;
4747

48-
root /var/www/html;
48+
root /var/www/html/appstarter/public;
49+
index index.php;
4950

5051
location / {
5152
try_files $uri /index.php$is_args$args;
@@ -60,7 +61,7 @@ server {
6061
# Mitigate https://httpoxy.org/ vulnerabilities
6162
fastcgi_param HTTP_PROXY "";
6263

63-
fastcgi_pass docker_codeIgniter;
64+
fastcgi_pass docker_codeigniter;
6465
fastcgi_index index.php;
6566

6667
# include the fastcgi_param setting

0 commit comments

Comments
 (0)