mirror of
https://github.com/izzy2lost/docker-android.git
synced 2026-06-19 01:16:28 -07:00
Added example of using nginx
This commit is contained in:
Executable
+25
@@ -0,0 +1,25 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
location /container-1/ {
|
||||
proxy_pass http://127.0.0.1:6080/;
|
||||
}
|
||||
|
||||
location /container-1/websockify {
|
||||
proxy_pass http://127.0.0.1:6080/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
# VNC connection timeout
|
||||
proxy_read_timeout 61s;
|
||||
|
||||
# Disable cache
|
||||
proxy_buffering off;
|
||||
}
|
||||
|
||||
location /emu2/ {
|
||||
proxy_pass http://127.0.0.1:6081/;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user