diff --git a/src/nginxconfig/templates/prism/bash.vue b/src/nginxconfig/templates/prism/bash.vue new file mode 100644 index 0000000..6530adf --- /dev/null +++ b/src/nginxconfig/templates/prism/bash.vue @@ -0,0 +1,20 @@ + + + diff --git a/src/nginxconfig/templates/setup_sections/certbot.vue b/src/nginxconfig/templates/setup_sections/certbot.vue index 5a4b45e..3de3c4c 100644 --- a/src/nginxconfig/templates/setup_sections/certbot.vue +++ b/src/nginxconfig/templates/setup_sections/certbot.vue @@ -6,7 +6,9 @@ Comment out SSL related directives in the configuration:

-
+
  • @@ -14,7 +16,7 @@ Reload your NGINX server:

    -
    sudo nginx -t && sudo systemctl reload nginx
    +
  • @@ -22,7 +24,7 @@ Obtain SSL certificates from Let's Encrypt using Certbot:

    -
    +
  • @@ -30,7 +32,7 @@ Uncomment SSL related directives in the configuration:

    -
    +
  • @@ -38,7 +40,7 @@ Reload your NGINX server:

    -
    sudo nginx -t && sudo systemctl reload nginx
    +
  • @@ -46,9 +48,9 @@ Configure Certbot to reload NGINX when it successfully renews certificates:

    -
    echo -e '#!/bin/bash\nnginx -t && systemctl reload nginx' | sudo tee /etc/letsencrypt/renewal-hooks/post/nginx-reload.sh
    +
    -
    sudo chmod a+x /etc/letsencrypt/renewal-hooks/post/nginx-reload.sh
    +
  • @@ -67,11 +69,14 @@