-
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.
- Loading branch information
Showing
4 changed files
with
85 additions
and
8 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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
**npm-debug.log | ||
|
||
**.env* | ||
**.pem* | ||
|
||
/client/node_modules/ | ||
|
||
|
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,58 @@ | ||
user nginx; | ||
|
||
worker_processes auto; | ||
worker_rlimit_nofile 8192; | ||
|
||
events { | ||
worker_connections 8000; | ||
multi_accept on; | ||
use epoll; | ||
} | ||
|
||
error_log /var/log/nginx/error.log warn; | ||
|
||
pid /var/run/nginx.pid; | ||
|
||
http { | ||
gzip on; | ||
gzip_http_version 1.0; | ||
gzip_comp_level 5; | ||
gzip_min_length 256; | ||
gzip_proxied any; | ||
gzip_vary on; | ||
gzip_types | ||
application/atom+xml | ||
application/javascript | ||
application/json | ||
application/rss+xml | ||
application/vnd.ms-fontobject | ||
application/x-font-ttf | ||
application/x-web-app-manifest+json | ||
application/xhtml+xml | ||
application/xml | ||
font/opentype | ||
image/svg+xml | ||
image/x-icon | ||
text/css | ||
text/plain | ||
text/x-component; | ||
|
||
server { | ||
root /usr/share/nginx/html; | ||
|
||
listen 80; | ||
listen [::]:80; | ||
|
||
listen 443 ssl; | ||
|
||
server_name localhost; | ||
ssl_certificate /etc/nginx/ssl/nginx.crt; | ||
ssl_certificate_key /etc/nginx/ssl/nginx.key; | ||
|
||
# KNOWN ISSUE - Docker for Mac/Windows runs in VM --network host will not work as expected | ||
# Change localhost below to your machine's IP | ||
location / { | ||
proxy_pass http://localhost:9090/; | ||
} | ||
} | ||
} |
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