IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

nginx.conf 480B

123456789101112131415161718192021222324252627
  1. worker_processes 1;
  2. events {
  3. worker_connections 1024;
  4. }
  5. http {
  6. include mime.types;
  7. default_type application/octet-stream;
  8. server {
  9. listen 80;
  10. location / {
  11. rewrite ^/admin1/ $uri break;
  12. if ($uri ~ ^/([^/]*)/([^/]*)/(wiki|releases|issues)) {
  13. return 403;
  14. }
  15. root /usr/local/share/gitea/public;
  16. error_page 403 /403.html;
  17. proxy_pass http://localhost:3000/;
  18. }
  19. }
  20. }