Skip to content

Instantly share code, notes, and snippets.

# Use the below in your nginx config to allow `go get` to be used for self-hosted gitlab repos.
server {
server_name code.example.com;
# define error page
error_page 404 = @notfound;
# error page location redirect 301