<spanclass="hljs-comment"><strong>Upload</strong> to server's</span><strong>/etc/nginx/</strong><spanclass="hljs-comment">directory</span>
<spanclass="hljs-comment"><strong>Upload</strong> to server's</span><strong>{{ data.directory_nginx }}</strong><spanclass="hljs-comment">directory</span>
<spanclass="hljs-comment">- OR -</span>
<spanclass="hljs-comment"><strong>Copy</strong> as Base64 string:</span><strong><ahref="#"ng-mouseenter="prepareBase64()"ng-click="copyAsBase64()"ngclipboarddata-clipboard-target="#base64-zip-line"ngclipboard-success="clipboardSuccess('base64-zip-line')">Copy to clipboard</a></strong><spanclass="hljs-comment small">(echo 'BASE64' | base64 --decode > /etc/nginx/nginxconfig.io-{{ getDomains().join(',') }}.zip)</span>
<spanclass="hljs-comment"><strong>Copy</strong> as Base64 string:</span><strong><ahref="#"ng-mouseenter="prepareBase64()"ng-click="copyAsBase64()"ngclipboarddata-clipboard-target="#base64-zip-line"ngclipboard-success="clipboardSuccess('base64-zip-line')">Copy to clipboard</a></strong><spanclass="hljs-comment small">(echo 'BASE64' | base64 --decode > {{ data.directory_nginx }}nginxconfig.io-{{ getDomains().join(',') }}.zip)</span>
<spanclass="hljs-comment"><strong>Paste</strong> from clipboard and run the command</span>
<spanclass="hljs-comment"><spanclass="counter">.</span> Go to NGINX directory (over SSH):</span>
--> /etc/nginx/nginx.conf</span><spanng-if="isModularized()"><spanng-repeat="(_site, _domain) in getDomains() track by $index"ng-if="isCertLetsEncrypt(_site)"><!--
--> {{ data.directory_nginx }}nginx.conf</span><spanng-if="isModularized()"><spanng-repeat="(_site, _domain) in getDomains() track by $index"ng-if="isCertLetsEncrypt(_site)"><!--
--> /etc/nginx/nginx.conf</span><spanng-if="isModularized()"><spanng-repeat="(_site, _domain) in getDomains() track by $index"ng-if="isCertLetsEncrypt(_site)"><!--
--> {{ data.directory_nginx }}nginx.conf</span><spanng-if="isModularized()"><spanng-repeat="(_site, _domain) in getDomains() track by $index"ng-if="isCertLetsEncrypt(_site)"><!--
<spanclass="hljs-comment"><spanclass="counter">.</span> Configure <strong>Certbot</strong> to reload <strong>NGINX</strong> after success renew:</span>