54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
Task: deploy-code-server-nginx.sh
|
|
Started: Wed Feb 11 09:02:12 CST 2026
|
|
==========================================
|
|
=== CODE-SERVER NGINX + FROSTWALL DEPLOYMENT ===
|
|
Started: Wed Feb 11 09:02:12 CST 2026
|
|
|
|
--- Step 1: Create Nginx Config ---
|
|
✓ Nginx config created
|
|
|
|
--- Step 2: Enable Site ---
|
|
✓ Symlink created
|
|
|
|
--- Step 3: Test Nginx Config ---
|
|
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
|
|
nginx: configuration file /etc/nginx/nginx.conf test is successful
|
|
|
|
--- Step 4: Restart Nginx ---
|
|
✓ Nginx restarted
|
|
|
|
--- Step 5: Verify Nginx Binding ---
|
|
LISTEN 0 511 74.63.218.202:80 0.0.0.0:* users:(("nginx",pid=639115,fd=5),("nginx",pid=639114,fd=5),("nginx",pid=639113,fd=5))
|
|
|
|
--- Step 6: Frostwall Rules ---
|
|
Rule updated
|
|
Rule updated
|
|
Firewall reloaded
|
|
✓ Frostwall rules applied
|
|
|
|
--- Step 7: Verify Frostwall ---
|
|
[ 3] 74.63.218.202 80/tcp on ens3 ALLOW IN Anywhere # Code-Server HTTP
|
|
[ 4] 74.63.218.202 443/tcp on ens3 ALLOW IN Anywhere # Code-Server HTTPS
|
|
|
|
--- Step 8: Test HTTP Response ---
|
|
HTTP/1.1 302 Found
|
|
Server: nginx/1.24.0 (Ubuntu)
|
|
Date: Wed, 11 Feb 2026 15:02:20 GMT
|
|
Content-Type: text/plain; charset=utf-8
|
|
Content-Length: 29
|
|
Connection: keep-alive
|
|
Location: ./login
|
|
Vary: Accept, Accept-Encoding
|
|
|
|
|
|
=== NGINX DEPLOYMENT COMPLETE ===
|
|
Finished: Wed Feb 11 09:02:20 CST 2026
|
|
|
|
NEXT MANUAL STEP:
|
|
Run: certbot --nginx -d code.firefrostgaming.com
|
|
Email: mkrause612@gmail.com
|
|
Terms: Y | Share: N | Redirect: 2 (Yes)
|
|
==========================================
|
|
Finished: Wed Feb 11 09:02:20 CST 2026
|
|
Exit Code: 0
|