events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; log_format json_logs '{"remote_addr":"$remote_addr" , "remote_user" : "$remote_user", "time_local" : "$time_local", ' '"proxy_host":"$proxy_host", "request": "$request", "status": "$status", "body_bytes_sent": "$body_bytes_sent", ' ' "http_referrer" : "$http_referer", "http_user_agent" : "$http_user_agent"}'; client_max_body_size 50M; proxy_set_header referer https://$hostname.domad.local; proxy_redirect https://intranetdev-sprint-courant.mutuelledepoitiers.fr https://$hostname.domad.local; proxy_redirect http://intranetdev-sprint-courant.mutuelledepoitiers.fr https://$hostname.domad.local; proxy_redirect https://intranetdev-sprint-precedent.mutuelledepoitiers.fr https://$hostname.domad.local; proxy_redirect http://intranetdev-sprint-precedent.mutuelledepoitiers.fr https://$hostname.domad.local; proxy_redirect https://intranetrecette-sprint-courant.mutuelledepoitiers.fr https://$hostname.domad.local; proxy_redirect http://intranetrecette-sprint-courant.mutuelledepoitiers.fr https://$hostname.domad.local; proxy_redirect https://intranetrecette-mep-urgente.mutuelledepoitiers.fr https://$hostname.domad.local; proxy_redirect http://intranetrecette-mep-urgente.mutuelledepoitiers.fr https://$hostname.domad.local; server { listen 9999; server_name localhost $hostname localhost.domad.local $hostname.domad.local; access_log ./logs/json.log json_logs; # No additionnal server configuration location / { proxy_pass https://intranetdev-sprint-courant.mutuelledepoitiers.fr; # No additionnal location configuration } } server { listen 8081; server_name localhost $hostname localhost.domad.local; access_log ./logs/json.log json_logs; include "//store-stic/INTRANETDIVERS/AccesAuxInformations/Technique/Environnement/Config developpeur/Indispensables/10 - nginx/nginx-gui/nginx-conf/registration-services.conf"; } server { listen 443 ssl; server_name localhost $hostname localhost.domad.local $hostname.domad.local; access_log ./logs/json.log json_logs; include "//store-stic/INTRANETDIVERS/AccesAuxInformations/Technique/Environnement/Config developpeur/Indispensables/10 - nginx/nginx-gui/nginx-conf/standard-web-test-kong.conf"; ssl_certificate "//store-stic/INTRANETDIVERS/AccesAuxInformations/Technique/Environnement/Config developpeur/Indispensables/10 - nginx/nginx-gui/nginx-conf/ssl/domad.local.crt"; ssl_certificate_key "//store-stic/INTRANETDIVERS/AccesAuxInformations/Technique/Environnement/Config developpeur/Indispensables/10 - nginx/nginx-gui/nginx-conf/ssl/domad.local.key"; ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; location ~ ^/sinistre-web { proxy_pass http://localhost:8999; # No additionnal location configuration } location ~ ^/annuaire-externe-web { proxy_pass http://localhost:5001; # No additionnal location configuration } location ~ ^/partenaires-web { proxy_pass http://localhost:8998; # No additionnal location configuration } location ~ ^/helpdesk-web { proxy_pass https://localhost:5001; # No additionnal location configuration } location ~ ^/societaire-web { proxy_pass https://localhost:5001; # No additionnal location configuration } location ~ ^/contrats-rd-web { proxy_pass https://localhost:5001; # No additionnal location configuration } location ~ ^/api/v1/factures { proxy_pass https://ofeli-pdp.vabf.darva.com; # No additionnal location configuration } location ~ ^/api/v1/flow { proxy_pass https://ofeli-pdp.vabf.darva.com; # No additionnal location configuration } } server { listen 80; server_name localhost $hostname localhost.domad.local $hostname.domad.local; access_log ./logs/json.log json_logs; # No additionnal server configuration location / { proxy_pass https://$hostname.domad.local:443; # No additionnal location configuration } } server { listen 8080; server_name localhost $hostname localhost.domad.local $hostname.domad.local; access_log ./logs/json.log json_logs; # No additionnal server configuration location / { proxy_pass http://localhost:5173; # No additionnal location configuration } } server { listen 9992; server_name localhost $hostname localhost.domad.local $hostname.domad.local; access_log ./logs/json.log json_logs; # No additionnal server configuration location / { proxy_pass https://ofeli-pdp.vabf.darva.com; # No additionnal location configuration } } server { listen mio; server_name tfe; access_log ./logs/json.log json_logs; # No additionnal server configuration location /path { proxy_pass http://target; # No additionnal location configuration } } }