provisioning tool for building opinionated architecture
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
311 B

8 months ago
  1. # DEFAULT SERVER
  2. # redirect any http request to https
  3. server {
  4. listen 80;
  5. server_name _;
  6. return 301 https://$host$request_uri;
  7. }
  8. # respond dummy nginx page
  9. server {
  10. listen 443 default_server ssl;
  11. include snippets/snakeoil.conf;
  12. root /var/www/html;
  13. index index.html index.htm index.nginx-debian.html;
  14. }