Commit a446d71f authored by Isaias Santana's avatar Isaias Santana

Aterações de teste

parents f9900533 d0383851
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
upstream web {
ip_hash;
server web:80
server web:8000;
}
# portal
......@@ -19,6 +19,6 @@ server {
proxy_pass http://web/;
}
listen 8000;
server_name localhost;
server_name www.diariodigital.pege.com.br diariodigital.pege.com.br;
client_max_body_size 20M;
}
\ No newline at end of file
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -4,7 +4,7 @@ services:
image: nginx:latest
container_name: nginx_diario_manager
ports:
- "8000:8000"
- "80:8000"
volumes:
- ./src:/src
- ./config/nginx:/etc/nginx/conf.d
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -11,10 +11,11 @@ class Cliente(models.Model):
class Meta:
"""Meta definition for Cliente."""
verbose_name = 'Cliente'
verbose_name_plural = 'Clientes'
def __str__(self):
"""String representation of Cliente."""
return self.domain_name
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -11,9 +11,9 @@ STATIC_URL = config('STATIC_URL', default='/static/')
# Directories to save media and compiled static files
STATIC_ROOT = 'staticfiles'
# STATIC_ROOT = 'staticfiles'
# MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
# STATIC_ROOT = BASE_DIR.child('frontend', 'staticfiles')
STATIC_ROOT = BASE_DIR.child('frontend', 'staticfiles')
MEDIA_ROOT = BASE_DIR.child('media')
......@@ -22,7 +22,7 @@ MEDIA_ROOT = BASE_DIR.child('media')
# os.path.join(BASE_DIR, 'static'),
# )
STATICFILES_DIRS = [
# BASE_DIR.child('frontend', 'static'),
BASE_DIR.child('frontend', 'static'),
# BASE_DIR.child('frontend', 'bower_components'),
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment