I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| Nginx no-www to www | |
| ------------------- | |
| server { | |
| #listen 80 is default | |
| server_name www.example.com; | |
| return 301 $scheme://example.com$request_uri; | |
| } | |
| server { | |
| #listen 80 is default |
| $("#{{ inline_admin_formset.formset.prefix }}-group").grp_inline({ | |
| prefix: "{{ inline_admin_formset.formset.prefix }}", | |
| //////////Función agregada para precargar y ejecutar el complemento tinyMCE | |
| onBeforeAdded:function(form) { | |
| if (tinyMCE != undefined) { | |
| django.jQuery('.grp-empty-form').find('textarea').each(function() { | |
| var tid = django.jQuery(this).attr("id"); | |
| tinyMCE.execCommand("mceRemoveControl",false,tid); | |
| }); |
| UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl', 'http://www.newurl') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
| UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl'); | |
| UPDATE wp_posts SET post_content = replace(post_content, 'http://www.oldurl', 'http://www.newurl'); | |
| UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.oldurl','http://www.newurl'); |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] | |
| RewriteRule ^(.*)$ http://%1/$1 [R=301,L] | |
| # non www to www and https | |
| RewriteEngine On | |
| RewriteCond %{HTTP_HOST} !^www\. | |
| RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] |
| <comment-box> | |
| <h1>{ opts.title }</h1> | |
| <comment-list comments={ comments } /> | |
| <comment-form /> | |
| this.comments = [] | |
| add(comment) { | |
| this.comments.push(comment) |
| server { | |
| listen 80; | |
| # server_name base.pe; | |
| server_tokens off; | |
| root /home/devstaff/webapps/; | |
| location /blog { | |
| index index.php index.html index.htm; |
| import os | |
| import sys | |
| from os.path import dirname, realpath | |
| # directorio del proyecto | |
| SITE_ROOT = dirname(realpath(__file__)) | |
| # entorno | |
| sys.path = [SITE_ROOT, 'C:\Python27\Lib\site-packages'] + sys.path |
| import sublime | |
| import sublime_plugin | |
| import re | |
| import os | |
| class CheckParentCommand(sublime_plugin.TextCommand): | |
| def run(self, edit): | |
| # inicializa |
| Alias /static_hv "C:/proys/static_proyecto/" | |
| <Directory "C:/proys/static_proyecto"> | |
| AllowOverride AuthConfig | |
| Require all granted | |
| </Directory> | |
| WSGIScriptAlias / "C:\proys/staff-proyecto/src/settings/wsgi.py" | |
| WSGIPythonPath "C:/proys/staff-proyecto/src" |