Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does AW support SSL and/or reverse proxying?

aw proxying reverse SSL support
0
Posted

Does AW support SSL and/or reverse proxying?

0

Not yet. Currently we recommend reverse proxying SSL connections to Antiweb with nginx. Eventually Antiweb will be both SSL capable and able to reverse proxy SSL. Here is an nginx conf file that can be used for reverse proxying SSL (probably includes some things you don’t need): user nginx; worker_processes 1; events { worker_connections 1024; } http { keepalive_timeout 65; gzip on; gzip_proxied any; gzip_types application/x-javascript; server { listen 443; server_name example.com; ssl on; ssl_certificate /etc/ssl/certs/example.crt; ssl_certificate_key /etc/ssl/private/example.key; location / { proxy_buffer_size 256k; proxy_buffers 8 256k; proxy_pass http://example.com; proxy_set_header X-Real-IP $remote_addr; } } } In order to log the IP addresses of clients, you should use the :accept-x-real-ip xconf for all workers that handle proxied connections.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123