mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-19 00:09:21 +11:00
Removed media path settings, there are no file uploads
This commit is contained in:
parent
7a2c414f95
commit
74e474b390
3 changed files with 3 additions and 9 deletions
|
@ -74,12 +74,9 @@ STATIC_ROOT = os.path.join(VAR_ROOT, 'static')
|
|||
# Project URLS and media settings
|
||||
#==============================================================================
|
||||
|
||||
MEDIA_URL = '/uploads/'
|
||||
STATIC_URL = '/static/'
|
||||
ADMIN_MEDIA_PREFIX = '/static/admin/'
|
||||
|
||||
MEDIA_ROOT = os.path.join(VAR_ROOT, 'uploads')
|
||||
|
||||
ROOT_URLCONF = 'dpaste.urls'
|
||||
|
||||
LOGIN_URL = '/accounts/login/'
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
/srv/dpaste.de/var/*.log {
|
||||
monthly
|
||||
monthly
|
||||
rotate 52
|
||||
dateext
|
||||
create
|
||||
missingok
|
||||
compress
|
||||
compress
|
||||
}
|
||||
|
|
|
@ -78,10 +78,6 @@ server {
|
|||
auth_basic_user_file /srv/dpaste.de/var/.htpasswd;
|
||||
}
|
||||
|
||||
location /media/ {
|
||||
alias /srv/dpaste.de/var/media/;
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
alias /srv/dpaste.de/var/static/;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue