Add files via upload

This commit is contained in:
Jeremy MANSON 2016-07-14 15:52:08 +02:00 committed by GitHub
parent 11ebf4a0b0
commit 38ca3fe390
2 changed files with 19 additions and 0 deletions

13
conf/guacamole.properties Normal file
View File

@ -0,0 +1,13 @@
user-mapping: /etc/guacamole/user-mapping.xml
auth-provider: net.sourceforge.guacamole.net.basic.BasicFileAuthenticationProvider
basic-user-mapping: /etc/guacamole/user-mapping.xml
# Auth provider class
auth-provider: net.sourceforge.guacamole.net.auth.mysql.MySQLAuthenticationProvider
# MySQL properties
mysql-hostname: localhost
mysql-port: 3306
mysql-database: guacamole_db
mysql-username: guacamole_user
mysql-password: CHANGEME

6
conf/nginx.conf Normal file
View File

@ -0,0 +1,6 @@
location /YNH_WWW_PATH {
proxy_pass http://127.0.0.1:8080/guacamole;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}