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!
Browse Source

Fix for 403 on .

master
parent
commit
fe2058d549
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      example/gitea-disable/files/403.html
  2. +1
    -0
      example/gitea-disable/files/nginx.conf

+ 1
- 1
example/gitea-disable/files/403.html View File

@@ -7,7 +7,7 @@
<body> <body>
<div style="margin: 1em; border-radius: .28571429rem; border-width: 1px; border-style: solid; border-color: rgba(34, 36, 38, 0.15); padding: 1em;"> <div style="margin: 1em; border-radius: .28571429rem; border-width: 1px; border-style: solid; border-color: rgba(34, 36, 38, 0.15); padding: 1em;">
<h1>403 Forbidden</h1> <h1>403 Forbidden</h1>
<p>Issues, Releases and Wiki are disabled for forked repositories. Please use the source repository for those.</p>
<p>Issues, Releases, Wiki and some settings are disabled for forked repositories. Please use the source repository for those.</p>
<p><a href="javascript:history.back()">Go Back</a></p> <p><a href="javascript:history.back()">Go Back</a></p>
</div> </div>
</body> </body>


+ 1
- 0
example/gitea-disable/files/nginx.conf View File

@@ -14,6 +14,7 @@ http {
location / { location / {
error_page 403 /403.html; error_page 403 /403.html;
set $test "";
if ($uri ~ ^/api) { if ($uri ~ ^/api) {
set $test "api"; set $test "api";
} }


Loading…
Cancel
Save