DNS

domain wiring + TLS

TLS: Transport Layer Security

the secure HTTP

‼️ cloudflare handles TLS for you

but what is reverse proxy anyway?

Reverse Proxy:

sits in front of all your service ports (frontend port, backend port)

routes internet traffic to appropriate port based on rules

e.g. Caddy

e.g. Nginx

website domains (DNS) 6/22/2026

DNS: Domain Name System

human-readable domain names (google.com) ←→ IP addresses

DNS A Records: specific DNS entry that does the mapping

TYPENAMECONTENT
Afalconup<< nc01’s public IP >>

!!! you can find the public ip address by

  • ssh into the server
  • run curl -4 [ifconfig.me](http://ifconfig.me/)

DNS CNAME Records: maps domain name ←→ another domain name

TYPENAMECONTENT
CNAMEfalconupfalconup.netlify.app

pr steps:

set up nginx

  • set up nginx within the docker container (don’t install nginx on oc40)
  • frontend port, backend port
  • copy structure from kkulgag project’s nginx configuration

update port numbers to work on oc40 server !!

oracle cloud config to port 80 for nginx

go to oracle cloud

go to instance oc40

find security list

Default Security List for vcn-20220911-2137

go to security rules

go to ingress rules

add ingress rules

configure oc40 after nginx merged to main

pull the nginx commit merged to main

 git pull
sudo iptables -I INPUT -p tcp --dport 80 -j ACCEPT
sudo netfilter-persistent save

build image on oc40

docker compose -f compose.build.yaml up --build -d

then check http://falconup.julia7hk.com

Site not resolving yet

somethings wrong T^T

‼️ cloudflare was set to nc01’s public ip, not oc40’s ip 💀

omg it works now tho 😁

falconup.julia7hk.com loading after the Cloudflare IP fix