svg
This commit is contained in:
@ -36,6 +36,13 @@ parameters:
|
||||
%else
|
||||
syncenvole_activate: false
|
||||
%end if
|
||||
%if %%getVar("ninegate_activate_websocket", 'non') == "oui"
|
||||
websocket_activate: true
|
||||
websocket_port: 5555
|
||||
%else
|
||||
websocket_activate: false
|
||||
websocket_port: 5555
|
||||
%end if
|
||||
%if %%getVar("ninegate_activate_portal", 'non') == "oui"
|
||||
portal_activate: true
|
||||
module_activate: false
|
||||
@ -218,27 +225,6 @@ parameters:
|
||||
activate_widwordpress: false
|
||||
%end if
|
||||
|
||||
# Synchrinisation eportail
|
||||
%if %%getVar("ninegate_synceportail", 'non') == "oui"
|
||||
eportail_sync: true
|
||||
eportail_url: /eportail
|
||||
eportail_login: /eportail/login.php
|
||||
eportail_database_host: '%database_host%'
|
||||
eportail_database_port: 3306
|
||||
eportail_database_name: eportail
|
||||
eportail_database_user: eportail
|
||||
eportail_database_password: "changme"
|
||||
%else
|
||||
eportail_sync: false
|
||||
eportail_url: # /eportail
|
||||
eportail_login: # /eportail/login.php
|
||||
eportail_database_host: # 172.27.7.64
|
||||
eportail_database_port: # 3306
|
||||
eportail_database_name: # eportail
|
||||
eportail_database_user: # eportail
|
||||
eportail_database_password: # "changme"
|
||||
%end if
|
||||
|
||||
# Si mode_auth = CAS
|
||||
cas_host: %%eolesso_adresse
|
||||
cas_path: %%eolesso_cas_folder
|
||||
@ -285,16 +271,6 @@ doctrine:
|
||||
user: '%database_user%'
|
||||
password: '%database_password%'
|
||||
charset: UTF8
|
||||
%if %%getVar("ninegate_synceportail", 'non') == "oui"
|
||||
eportail:
|
||||
driver: pdo_mysql
|
||||
host: '%eportail_database_host%'
|
||||
port: '%eportail_database_port%'
|
||||
dbname: '%eportail_database_name%'
|
||||
user: '%eportail_database_user%'
|
||||
password: '%eportail_database_password%'
|
||||
charset: UTF8
|
||||
%end if
|
||||
orm:
|
||||
default_entity_manager: default
|
||||
entity_managers:
|
||||
@ -304,13 +280,7 @@ doctrine:
|
||||
CadolesCoreBundle: ~
|
||||
CadolesCronBundle: ~
|
||||
CadolesPortalBundle: ~
|
||||
%if %%getVar("ninegate_synceportail", 'non') == "oui"
|
||||
eportail:
|
||||
connection: eportail
|
||||
mappings:
|
||||
CadolesCoreBundle: ~
|
||||
CadolesCronBundle: ~
|
||||
CadolesPortalBundle: ~
|
||||
%end if
|
||||
CadolesWebsocketBundle: ~
|
||||
|
||||
|
||||
|
24
tmpl/ninegate.nginx.conf
Normal file
24
tmpl/ninegate.nginx.conf
Normal file
@ -0,0 +1,24 @@
|
||||
server {
|
||||
listen 5555 ssl;
|
||||
|
||||
ssl on;
|
||||
ssl_certificate %%server_cert;
|
||||
ssl_certificate_key %%server_key;
|
||||
|
||||
proxy_connect_timeout 600;
|
||||
proxy_send_timeout 600;
|
||||
proxy_read_timeout 600;
|
||||
send_timeout 600;
|
||||
|
||||
location / {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Proxy "";
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_pass http://%%web_url:5556;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user