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!
Bladeren bron

Fix for 403 on .

master
Stanislaw Adaszewski 4 jaren geleden
bovenliggende
commit
fe2058d549
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  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 Bestand weergeven

@@ -7,7 +7,7 @@
<body>
<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>
<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>
</div>
</body>


+ 1
- 0
example/gitea-disable/files/nginx.conf Bestand weergeven

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


Laden…
Annuleren
Opslaan