Try moving the releases to pagure.org
This commit is contained in:
parent
86d13af119
commit
c7f68ed8f1
2 changed files with 40 additions and 18 deletions
|
@ -28,6 +28,17 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
<VirtualHost *:80>
|
||||||
|
{% if env == 'pagure-staging' %}
|
||||||
|
ServerName releases.stg.pagure.org
|
||||||
|
Redirect permanent / https://releases.stg.pagure.org/
|
||||||
|
{% else %}
|
||||||
|
ServerName releases.pagure.org
|
||||||
|
Redirect permanent / https://releases.pagure.org/
|
||||||
|
{% endif %}
|
||||||
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## End of redirects http -> https
|
## End of redirects http -> https
|
||||||
|
|
||||||
|
@ -77,23 +88,6 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
|
||||||
</IfModule>
|
</IfModule>
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
<Location /releases>
|
|
||||||
WSGIProcessGroup pagure
|
|
||||||
<IfModule mod_authz_core.c>
|
|
||||||
# Apache 2.4
|
|
||||||
Require all granted
|
|
||||||
</IfModule>
|
|
||||||
<IfModule !mod_authz_core.c>
|
|
||||||
# Apache 2.2
|
|
||||||
Order deny,allow
|
|
||||||
Allow from all
|
|
||||||
</IfModule>
|
|
||||||
</Location>
|
|
||||||
|
|
||||||
<Directory /var/www/releases>
|
|
||||||
Options +Indexes
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
||||||
|
@ -153,3 +147,31 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
|
||||||
</IfModule>
|
</IfModule>
|
||||||
</Location>
|
</Location>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
<VirtualHost *:443>
|
||||||
|
{% if env == 'pagure-staging' %}
|
||||||
|
ServerName releases.stg.pagure.org
|
||||||
|
{% else %}
|
||||||
|
ServerName releases.pagure.org
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<Location />
|
||||||
|
WSGIProcessGroup pagure
|
||||||
|
<IfModule mod_authz_core.c>
|
||||||
|
# Apache 2.4
|
||||||
|
Require all granted
|
||||||
|
</IfModule>
|
||||||
|
<IfModule !mod_authz_core.c>
|
||||||
|
# Apache 2.2
|
||||||
|
Order deny,allow
|
||||||
|
Allow from all
|
||||||
|
</IfModule>
|
||||||
|
</Location>
|
||||||
|
|
||||||
|
<Directory /var/www/releases>
|
||||||
|
Options +Indexes
|
||||||
|
Options NameWidth=*
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,7 @@ REMOTE_GIT_FOLDER = '/srv/git/remotes'
|
||||||
GITOLITE_CONFIG = '/srv/git/.gitolite/conf/gitolite.conf'
|
GITOLITE_CONFIG = '/srv/git/.gitolite/conf/gitolite.conf'
|
||||||
|
|
||||||
### Path of the release folder
|
### Path of the release folder
|
||||||
UPLOAD_FOLDER = 'releases/'
|
UPLOAD_FOLDER_URL = 'https://releases.pagure.org/'
|
||||||
UPLOAD_FOLDER_PATH = '/var/www/' + UPLOAD_FOLDER
|
UPLOAD_FOLDER_PATH = '/var/www/' + UPLOAD_FOLDER
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue