Editing
Nginx
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= mutli ssl single IP proxy = nginx biedt de rol van proxy server het voordeel dat nginx meerdere verschillende secure websites achter een en hetzelfde IP adres faciliteert. De nginx ssl proxy leidt het verkeer voor verschillende secure websites vanaf een enkel IP adres naar verschillende acgterliggende secure Apache backend systemen met adressen nin de private address range. <pre> server { server_name crm.webhuis.nl; access_log /var/log/nginx/crm.webhuis.nl.access.log; error_log /var/log/nginx/crm.webhuis.nl.error.log; listen 443; ssl_certificate ssl/crm.webhuis.nl.cert.pem; ssl_certificate_key ssl/crm.webhuis.nl.key-nopw.p ssl_session_timeout 5m; ssl_protocols SSLv3 TLSv1; ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP; ssl_prefer_server_ciphers on; ssl_session_cache builtin:1000 shared:SSL:10m; # Volgende optie nog uittesten, bovenstaande regel heeft het al veel beter gemaakt! # ssl_session_cache shared:SSL:10m; location / { proxy_pass https://crm.webhuis.nl:443; proxy_redirect off; #Proxy Settings proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_max_temp_file_size 0; proxy_connect_timeout 90; proxy_send_timeout 90; proxy_read_timeout 90; proxy_buffer_size 32k; proxy_buffers 4 32k; proxy_busy_buffers_size 64k; proxy_temp_file_write_size 64k; #root /var/www/crm.webhuis.nl; #index index.html index.htm; } } </pre> ssl_session_cache staat in de default nginx configuratie uit. Het gevolg daarvan is een extreme CPU load en slechte response tijden bij zwaardere websites als SugarCRM. De configuratie van ssl_session_cache verhelpt dit probleem. <hr/> Terug naar: [[Webhuis configuratie]]
Summary:
Please note that all contributions to Webhuis wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see
Project:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Voorpagina
Cobol and PostgreSQL
PostgreSQL
CFEngine
Proxmox
Webhuis Kennisbank
Basale infra
Webhuis bouwstenen
Webhuis configuratie
Webhuis Infra
Webhuis Support
Webhuis Raspberry
Opzet Applicaties
Business Applicaties
Community portal
Current events
Recent changes
Random page
Help
sitesupport
Tools
What links here
Related changes
Special pages
Page information