nginx – vhost configuration example
Here is my nginx – vhost configuration example: server { listen 80; listen 443 ssl; server_name mattionline.de; access_log /var/log/nginx/blog_access.log combined; error_log /var/log/nginx/blog_error.log; if ( $scheme = „http“ ) { return 301 https://$server_name$request_uri; […]