Jump to content

Smilie

Newbie
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Language
    English
  • Software
    IPS4
  • Version
    1

Smilie's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Hi, I found quite many topics on how to configure nginx on the box hosting my forums. In my setup I have another nginx reverse proxy in front to handle SSL. Does anyone have any experience on which settings should be applied? Currently I have this on my proxy: server { server_name hostname.com; location / { proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #proxy_set_header X-Forwarded-Proto https; #proxy_set_header X-Forwarded-Port 443; proxy_pass http://<ip>:<port>/; } listen 443 ssl; # managed by Certbot ssl_certificate /stuff/fullchain.pem; # managed by Certbot ssl_certificate_key /stuff/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot }server { if ($host = hostname.com) { return 301 https://$host$request_uri; } # managed by Certbot server_name hostname.com listen *:80; return 404; # managed by Certbot } I have also updated the base_url in conf_global.php to point to the proxy server url. For some reason, I keep getting redirected to the same site over and over, until the browser eventually gives up.
  2. I mostly have experience within EU. Here I would recommend hetzner, redstation, or OVH. Mostly because they are big companies, and not just a start-up, so you don't have to worry about those child issues. They are however also a tad more expensive, so if you're on a budget, you might need to look for something else. Tip: Hetzner has a server auction, where you can get quite beefy servers for very little money.
×
×
  • Create New...