-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
54 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
server { | ||
listen 8000; | ||
server_name localhost; | ||
listen 8000; | ||
server_name localhost; | ||
|
||
add_header Access-Control-Allow-Origin *; | ||
root /opt/www/main/; | ||
index index.html index.htm; | ||
add_header Access-Control-Allow-Origin *; | ||
root /opt/www/main/; | ||
index index.html index.htm; | ||
|
||
location / { | ||
try_files $uri $uri/ /index.html; | ||
} | ||
location / { | ||
try_files $uri $uri/ /index.html; | ||
} | ||
} |
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,13 +1,13 @@ | ||
server { | ||
listen 8001; | ||
server_name localhost; | ||
listen 8001; | ||
server_name localhost; | ||
|
||
#charset koi8-r; | ||
#access_log /var/log/nginx/log/host.access.log main; | ||
#charset koi8-r; | ||
#access_log /var/log/nginx/log/host.access.log main; | ||
|
||
location / { | ||
add_header Access-Control-Allow-Origin *; | ||
root /opt/www/subapp1/; | ||
index index.html index.htm; | ||
} | ||
location / { | ||
add_header Access-Control-Allow-Origin *; | ||
root /opt/www/subapp1/; | ||
index index.html index.htm; | ||
} | ||
} |
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,13 +1,13 @@ | ||
server { | ||
listen 8002; | ||
server_name localhost; | ||
listen 8002; | ||
server_name localhost; | ||
|
||
#charset koi8-r; | ||
#access_log /var/log/nginx/log/host.access.log main; | ||
#charset koi8-r; | ||
#access_log /var/log/nginx/log/host.access.log main; | ||
|
||
location / { | ||
add_header Access-Control-Allow-Origin *; | ||
root /opt/www/subapp2/; | ||
index index.html index.htm; | ||
} | ||
location / { | ||
add_header Access-Control-Allow-Origin *; | ||
root /opt/www/subapp2/; | ||
index index.html index.htm; | ||
} | ||
} |
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,13 +1,13 @@ | ||
server { | ||
listen 8003; | ||
server_name localhost; | ||
listen 8003; | ||
server_name localhost; | ||
|
||
#charset koi8-r; | ||
#access_log /var/log/nginx/log/host.access.log main; | ||
#charset koi8-r; | ||
#access_log /var/log/nginx/log/host.access.log main; | ||
|
||
location / { | ||
add_header Access-Control-Allow-Origin *; | ||
root /opt/www/subapp3/; | ||
index index.html index.htm; | ||
} | ||
location / { | ||
add_header Access-Control-Allow-Origin *; | ||
root /opt/www/subapp3/; | ||
index index.html index.htm; | ||
} | ||
} |
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