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 { upstream web {
ip_hash; ip_hash;
server web:80 server web:8000;
} }
# portal # portal
...@@ -19,6 +19,6 @@ server { ...@@ -19,6 +19,6 @@ server {
proxy_pass http://web/; proxy_pass http://web/;
} }
listen 8000; listen 8000;
server_name localhost; server_name www.diariodigital.pege.com.br diariodigital.pege.com.br;
client_max_body_size 20M; 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: ...@@ -4,7 +4,7 @@ services:
image: nginx:latest image: nginx:latest
container_name: nginx_diario_manager container_name: nginx_diario_manager
ports: ports:
- "8000:8000" - "80:8000"
volumes: volumes:
- ./src:/src - ./src:/src
- ./config/nginx:/etc/nginx/conf.d - ./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): ...@@ -11,10 +11,11 @@ class Cliente(models.Model):
class Meta: class Meta:
"""Meta definition for Cliente.""" """Meta definition for Cliente."""
verbose_name = 'Cliente' verbose_name = 'Cliente'
verbose_name_plural = 'Clientes' verbose_name_plural = 'Clientes'
def __str__(self): def __str__(self):
"""String representation of Cliente.""" """String representation of Cliente."""
return self.domain_name 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/') ...@@ -11,9 +11,9 @@ STATIC_URL = config('STATIC_URL', default='/static/')
# Directories to save media and compiled static files # Directories to save media and compiled static files
STATIC_ROOT = 'staticfiles' # STATIC_ROOT = 'staticfiles'
# MEDIA_ROOT = os.path.join(BASE_DIR, 'media') # 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') MEDIA_ROOT = BASE_DIR.child('media')
...@@ -22,7 +22,7 @@ MEDIA_ROOT = BASE_DIR.child('media') ...@@ -22,7 +22,7 @@ MEDIA_ROOT = BASE_DIR.child('media')
# os.path.join(BASE_DIR, 'static'), # os.path.join(BASE_DIR, 'static'),
# ) # )
STATICFILES_DIRS = [ STATICFILES_DIRS = [
# BASE_DIR.child('frontend', 'static'), BASE_DIR.child('frontend', 'static'),
# BASE_DIR.child('frontend', 'bower_components'), # 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