[mezzanine-users] Can i delete project.tar file after deploying on server
Hey guys, I was wondering can I delete the project_name.tar from server after I deploy the mezzanine project? Have a nice day, Matic -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Re: Site permission missing in admin dashboard
Solved! I was extenting django.auth.User for some customization, but the site permission is from mezzanine.core.admin.SitePermissionUser, so i had to extend that one. class CustomUserAdmin(SitePermissionUserAdmin): list_filter = UserAdmin.list_filter + ('groups__name',) list_display = ('username', 'email', 'first_name','last_name', 'custom_group',) Happy new year! -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Redirect 301 NON www TO www
All the changes I have done so far were in templates od deploy. I think I will just put www domain in DOMAINS and in nginx template make another server with non www domain which redirects to www domain:) -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Redirect 301 NON www TO www
I have ubuntu 16.04 and when i ssh i see only mezzanine cache and .virtualenvs, logs folders I am not at laptop now, I cannot send you whole schema. I have searched around for quite some time and I cannot find etc folder. Where is it supposed to be ? Thank you! -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Redirect 301 NON www TO www
The problem is that on my vps I cannot find etc/nginx folder after i make mezzanine deploy. -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Redirect 301 NON www TO www
Helllo, I have two questions. 1) On my deployed mezzanine I cannot find nginx conf. file (etc/nginx/ repo). 2) I have two domains "DOMAINS": ["www.example.com", "example.com"], in my fab file, and I want to edit ngnix.conf.template file so it will be able to redirect 301 the non www domains to www, but the problem is that mezzanine deploy makes only one server. Is it possible to add redirect inside the template somehow? server { listen 80; %(ssl_disabled)s listen 443 ssl; server_name %(domains_nginx)s; client_max_body_size 35M; keepalive_timeout15; error_log /home/%(user)s/logs/%(proj_name)s_error_nginx.log info; %(ssl_disabled)s ssl_certificate conf/%(proj_name)s.crt; %(ssl_disabled)s ssl_certificate_key conf/%(proj_name)s.key; %(ssl_disabled)s ssl_session_cacheshared:SSL:10m; %(ssl_disabled)s ssl_session_timeout 10m; %(ssl_disabled)s ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA; %(ssl_disabled)s ssl_prefer_server_ciphers on; %(ssl_disabled)s ssl_protocols TLSv1.2 TLSv1.1 TLSv1; # Deny illegal Host headers if ($host !~* ^(%(domains_regex)s)$) { return 444; } location / { proxy_redirect off; proxy_set_headerHost$host; proxy_set_headerX-Real-IP $remote_addr; proxy_set_headerX-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_headerX-Forwarded-Protocol$scheme; proxy_pass http://%(proj_name)s; } location /static/ { root%(proj_path)s; access_log off; log_not_found off; expires 30d; } location /robots.txt { root%(proj_path)s/static; access_log off; log_not_found off; } location /favicon.ico { root%(proj_path)s/static/img; access_log off; log_not_found off; } } -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Safer admin login
Is it possible to limit /admin url login attempts in quick way? Is there any other safe measurment included in mezzazine already? Thanks -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.