Max's Blog

Exploring Technology

  • Home
  • About
  • projects
  • Tags
  • Categories
  • Archives
  • Resume
  • Table of Contents
  • Overview

Max Gialanella

16 posts
5 categories
7 tags
Related Posts
  • 2023-01-01
    Catch missing image assets inside image tag
  • 2023-01-01
    Windows Hello for Linux

Setup nginx to point subdomain at port

Posted on 2023-01-01 Edited on 2023-01-15 In computers

You can setup nginx to point subdomains at specific ports.

Set up your a records

set up nginx

1
2
3
4
5
6
server {
server_name blog.maxg.cc www.blog.maxg.cc;
listen 80;
root /data/blog/folder;
index index.html;
}

upload successful

OK THEN

# home server
Get .env file variables into bash scripts
Catch missing image assets inside image tag
© 2023 Max Gialanella
Powered by Hexo & NexT.Gemini
0%