summaryrefslogtreecommitdiff
path: root/doc/nginx_config_sample.conf
diff options
context:
space:
mode:
Diffstat (limited to 'doc/nginx_config_sample.conf')
-rw-r--r--doc/nginx_config_sample.conf44
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/nginx_config_sample.conf b/doc/nginx_config_sample.conf
new file mode 100644
index 0000000..2358b86
--- /dev/null
+++ b/doc/nginx_config_sample.conf
@@ -0,0 +1,44 @@
+worker_processes 1;
+pcre_jit on;
+error_log /tmp/nginx_error.log error;
+pid ./nginx.pid;
+
+events {
+ worker_connections 512;
+ use epoll;
+ accept_mutex off;
+ multi_accept on;
+}
+
+http {
+ charset utf-8;
+ access_log off;
+ server_tokens off;
+ sendfile on;
+ sendfile_max_chunk 4M;
+ client_max_body_size 16m;
+ map $http_upigrade $connection_upgrade {
+ default Upgrade;
+ '' close;
+ }
+ server {
+ listen 192.168.0.2:8080;
+ location /rdp {
+ alias /home/sss/git/work/rozhuk_ivan/backend/www;
+ index index.html;
+
+ }
+ location /wrdp {
+
+ #address of webrdp listen port/socket should be set here
+ proxy_pass http://192.168.0.2:8081;
+
+ proxy_http_version 1.1;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection $connection_upgrade;
+ }
+ }
+
+
+}
+