Skip to content

Instantly share code, notes, and snippets.

@kudaliar032
Last active September 12, 2021 01:39
Show Gist options
  • Save kudaliar032/c766a20e8718382249b58625aaa45737 to your computer and use it in GitHub Desktop.
Save kudaliar032/c766a20e8718382249b58625aaa45737 to your computer and use it in GitHub Desktop.
Deploy VS Code pada Server Ubuntu 20.04
server {
listen 80;
server_name subdomain.domain.tld;
error_log /var/log/nginx/subdomain.domain.tld-err.log;
access_log /var/log/nginx/subdomain.domain.tld-access.log;
location / {
proxy_pass http://localhost:8080;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header Host $host;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment