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!
Przeglądaj źródła

Fix for 403 on .

master
rodzic
commit
fe2058d549
2 zmienionych plików z 2 dodań i 1 usunięć
  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 Wyświetl plik

@@ -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 Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz