I'm trying to redirect only certain requests to use ssl and not my whole site but I can't figure how to escape this redirect loop. Here's my server block where I tried using a location block to redirect traffic: server { listen 80; server_name example.com; rewrite ^ http://www.example.com$request_uri? permanent; } server { listenby seminal - How to...
I understand that you should set the number of worker connections based on the amount of RAM. But what is the formula for this? I have 512MB with 4 virtual cores so I've set worker_processes to 4 but around what should I set worker_connections to? Thanksby seminal - How to...
![]() |
![]() |
![]() |
![]() |
|