Skip to content

Instantly share code, notes, and snippets.

View neuwcodebox's full-sized avatar
🤔
Thinking

Neuw15611cbox neuwcodebox

🤔
Thinking
  • South Korea
  • 04:05 (UTC +09:00)
View GitHub Profile
@neuwcodebox
neuwcodebox / rocketguide.md
Created December 17, 2019 14:01 — forked from belst/rocketguide.md
Deploy Rocket in production

Deploy Rocket using Letsencrypt and nginx

Information

This guide uses the domain your-domain.tld and its www. prefixed version. It starts the rocket application on 127.0.0.1:1337 and as the user www-data. The proxy listens on port 80 and 443 though.
If you need other values, update them accordingly in your nginx and systemd configs.

Prerequisites

You need to have nginx, certbot and rust installed.