New Files With Code Block

This is a new php info file

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>

This is Bash

# cat /etc/nginx/conf.d/rocketchat.conf
server {
        server_name chat.ipgw.io;

        error_log /var/log/nginx/rocketchat_error.log;

        location / {
            proxy_pass http://127.0.0.1:3000/;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
            proxy_set_header Host $http_host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto http;
            proxy_set_header X-Nginx-Proxy true;
            proxy_redirect off;
        }

    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/chat.ipgw.io/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/chat.ipgw.io/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 = chat.ipgw.io) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


        listen 80;
        server_name chat.ipgw.io;
    return 404; # managed by Certbot

This is Javascript

<script>
    alert( 'Hello, world!' );
  </script>

This is CSS

body {
  background-color: linen;
}

h1 {
  color: maroon;
  margin-left: 40px;
} 

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.