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!
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

vor 4 Jahren
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. error_page 403 /403.html;
  12. set $test "";
  13. if ($uri ~ ^/api) {
  14. set $test "api";
  15. }
  16. rewrite ^/admin1/ $uri break;
  17. if ($uri ~ ^/([^/]*)/([^/]*)/(wiki|releases|issues)) {
  18. return 403;
  19. }
  20. rewrite ^/([^/]*)/([^/]*)/settings/(collaboration|branches) $uri break;
  21. if ($uri ~ ^/([^/]*)/([^/]*)/settings) {
  22. set $test "settings";
  23. }
  24. if ($request_method != "GET") {
  25. set $test "${test}_not-get";
  26. }
  27. if ($test = "settings_not-get") {
  28. return 403;
  29. }
  30. if ($test = "api_not-get") {
  31. return 403;
  32. }
  33. root /usr/local/share/gitea/public;
  34. proxy_pass http://localhost:3000/;
  35. }
  36. }
  37. }