-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: only expose mobile entry on canary (#8064)
- Loading branch information
1 parent
bc306fa
commit 821de0a
Showing
3 changed files
with
30 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
worker_processes 4; | ||
worker_processes 4; | ||
error_log /var/log/nginx/error.log warn; | ||
pcre_jit on; | ||
env AFFINE_ENV; | ||
events { | ||
worker_connections 1024; | ||
worker_connections 1024; | ||
} | ||
http { | ||
include mime.types; | ||
log_format main '$remote_addr [$time_local] "$request" ' | ||
'$status $body_bytes_sent "$http_referer" ' | ||
'"$http_user_agent" "$http_x_forwarded_for"'; | ||
access_log /var/log/nginx/access.log main; | ||
include /etc/nginx/conf.d/*.conf; | ||
include mime.types; | ||
log_format main '$remote_addr [$time_local] "$request" ' | ||
'$status $body_bytes_sent "$http_referer" ' | ||
'"$http_user_agent" "$http_x_forwarded_for"'; | ||
access_log /var/log/nginx/access.log main; | ||
include /etc/nginx/conf.d/*.conf; | ||
|
||
map "${AFFINE_ENV}" $mobile_root { | ||
canary /app/mobile/; | ||
default /app/dist/; | ||
} | ||
} |
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