Recognition

Contributions

5 Contributions
  • Published Answer

    Nginx redirect subdomain from www to non-www

    If someone need this, solution is: if ($host ~* ^www\.(.*)) { set $host_without_www $1; r...
    Accepted Answer: If someone need this, solution is: if ($host ~* ^www\.(.*)) { set $host_without_www $1; r...
    By oksim
  • Published Question

    Let's Encrypt wildcard certificates - tutorial

    Hello, letsencrypt just announced new wildcard certificate. It would be great create a new tutorial for it. https://community.letsencrypt.org/t/acme-v2-and-wildcard-certificate-support-is-live/55579 (https://community...
    4 By oksim Let's Encrypt Ubuntu 16.04
  • Published Question

    Tutorial for let's encrypt wildcard?

    https://community.letsencrypt.org/t/acme-v2-and-wildcard-certificate-support-is-live/55579
    10 By oksim Let's Encrypt Ubuntu 16.04
  • Published Answer

    Nginx redirect subdomain from www to non-www

    Hello, thanks. But I think we did not understand each other :) What I need is redirect from www subdomain to non www subdomai…
    By oksim
  • Published Question

    Nginx redirect subdomain from www to non-www

    Hello, I'm using this nginx conf: ``` root /var/www/html/laravel/public; index index.php index.html index.htm index.nginx-debian.html; server_name *.example.com; location / { try_files $uri $...
    Accepted Answer: If someone need this, solution is: if ($host ~* ^www\.(.*)) { set $host_without_www $1; rewrite ^(.*) http://$host_without_www$1 permanent; }
    4 By oksim Nginx LEMP PHP PHP Frameworks Ubuntu 16.04