An Ansible Playbook for deploying your own self-hosted Gitea instance
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
291B

  1. server {
  2. listen 80;
  3. server_name {{ gitea_fqdn }};
  4. location / {
  5. proxy_pass http://localhost:3000;
  6. proxy_set_header X-Real-IP $remote_addr;
  7. }
  8. location ^~ /.well-known/acme-challenge/ {
  9. default_type "text/plain";
  10. root /var/www/html;
  11. }
  12. }