Created
April 22, 2020 09:49
-
-
Save dapi/00217dcddd2cc81d42517f80bc849441 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # This file is managed by ansible, don't make changes here - they will be overwritten. Contact cto@limehd.tv if you want to modify it | |
| # | |
| server { | |
| listen 194.35.48.49:443 ssl backlog=16384; | |
| server_name limehd.tv; | |
| ssl_certificate /etc/ssl/certs/STAR_limehd_tv-bundle.crt; | |
| ssl_certificate_key /etc/ssl/private/limehd.tv.key; | |
| ssl_protocols TLSv1 TLSv1.1 TLSv1.2 SSLv2; | |
| ssl_ciphers EECDH:+AES256:-3DES:RSA+AES:RSA+3DES:!NULL:!RC4; | |
| ssl_prefer_server_ciphers on; | |
| ssl_stapling on; | |
| ssl_stapling_verify on; | |
| root /home/master/limehd.tv/current/frontend/web; | |
| client_max_body_size 128M; | |
| location /errors { | |
| try_files $uri =404; | |
| } | |
| location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar|map)$ { | |
| try_files $uri =404; | |
| } | |
| location ~* /\. { | |
| } | |
| location /p50.m3u { | |
| } | |
| location ~ ^/assets/.*\.php$ { | |
| } | |
| location ~ \.php$ { | |
| try_files $uri =404; | |
| include fastcgi_params; | |
| fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
| fastcgi_pass unix:/run/php/php7.2-fpm.sock; | |
| fastcgi_index index.php; | |
| fastcgi_send_timeout 240s; | |
| fastcgi_read_timeout 240s; | |
| fastcgi_buffers 64 256k; | |
| fastcgi_buffer_size 256k; | |
| fastcgi_intercept_errors on; | |
| fastcgi_busy_buffers_size 256k; | |
| fastcgi_temp_file_write_size 256k; | |
| fastcgi_ignore_client_abort on; | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
| } | |
| location / { | |
| index index.php; | |
| try_files $uri $uri/ /index.php$is_args$args; | |
| } | |
| # redirect server error pages to the static page /50x.html | |
| # | |
| error_page 500 502 503 504 /50x.html; | |
| location = /50x.html { | |
| root /home/master/limehd.tv/current/frontend/web/errors; | |
| } | |
| access_log /var/log/nginx/limehd.tv.access.log main buffer=64k; | |
| } | |
| server { | |
| listen 194.35.48.49:443 ssl backlog=16384; | |
| server_name iptv2021.com *.iptv2021.com; | |
| ssl_certificate /etc/ssl/certs/STAR_iptv2021_com-bundle.crt; | |
| ssl_certificate_key /etc/ssl/private/iptv2021.com.key; | |
| ssl_protocols TLSv1 TLSv1.1 TLSv1.2 SSLv2; | |
| ssl_ciphers EECDH:+AES256:-3DES:RSA+AES:RSA+3DES:!NULL:!RC4; | |
| ssl_prefer_server_ciphers on; | |
| ssl_stapling on; | |
| ssl_stapling_verify on; | |
| root /home/master/limehd.tv/current/frontend/web; | |
| client_max_body_size 128M; | |
| location /errors { | |
| try_files $uri =404; | |
| } | |
| location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar|map)$ { | |
| try_files $uri =404; | |
| } | |
| location ~* /\. { | |
| } | |
| location /p50.m3u { | |
| } | |
| location ~ ^/assets/.*\.php$ { | |
| } | |
| location ~ \.php$ { | |
| try_files $uri =404; | |
| include fastcgi_params; | |
| fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
| fastcgi_pass unix:/run/php/php7.2-fpm.sock; | |
| fastcgi_index index.php; | |
| fastcgi_send_timeout 240s; | |
| fastcgi_read_timeout 240s; | |
| fastcgi_buffers 64 256k; | |
| fastcgi_buffer_size 256k; | |
| fastcgi_intercept_errors on; | |
| fastcgi_busy_buffers_size 256k; | |
| fastcgi_temp_file_write_size 256k; | |
| fastcgi_ignore_client_abort on; | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
| } | |
| location / { | |
| index index.php; | |
| try_files $uri $uri/ /index.php$is_args$args; | |
| } | |
| # redirect server error pages to the static page /50x.html | |
| # | |
| error_page 500 502 503 504 /50x.html; | |
| location = /50x.html { | |
| root /home/master/limehd.tv/current/frontend/web/errors; | |
| } | |
| access_log /var/log/nginx/iptv2021.com.access.log main buffer=64k; | |
| } | |
| server { | |
| listen 194.35.48.49:443 ssl backlog=16384; | |
| server_name iptv2022.com *.iptv2022.com; | |
| ssl_certificate /etc/ssl/certs/STAR_iptv2022_com-bundle.crt; | |
| ssl_certificate_key /etc/ssl/private/iptv2022.com.key; | |
| ssl_protocols TLSv1 TLSv1.1 TLSv1.2 SSLv2; | |
| ssl_ciphers EECDH:+AES256:-3DES:RSA+AES:RSA+3DES:!NULL:!RC4; | |
| ssl_prefer_server_ciphers on; | |
| ssl_stapling on; | |
| ssl_stapling_verify on; | |
| root /home/master/limehd.tv/current/frontend/web; | |
| client_max_body_size 128M; | |
| location /errors { | |
| try_files $uri =404; | |
| } | |
| location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar|map)$ { | |
| try_files $uri =404; | |
| } | |
| location ~* /\. { | |
| } | |
| location /p50.m3u { | |
| } | |
| location ~ ^/assets/.*\.php$ { | |
| } | |
| location ~ \.php$ { | |
| try_files $uri =404; | |
| include fastcgi_params; | |
| fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
| fastcgi_pass unix:/run/php/php7.2-fpm.sock; | |
| fastcgi_index index.php; | |
| fastcgi_send_timeout 240s; | |
| fastcgi_read_timeout 240s; | |
| fastcgi_buffers 64 256k; | |
| fastcgi_buffer_size 256k; | |
| fastcgi_intercept_errors on; | |
| fastcgi_busy_buffers_size 256k; | |
| fastcgi_temp_file_write_size 256k; | |
| fastcgi_ignore_client_abort on; | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
| } | |
| location / { | |
| index index.php; | |
| try_files $uri $uri/ /index.php$is_args$args; | |
| } | |
| # redirect server error pages to the static page /50x.html | |
| # | |
| error_page 500 502 503 504 /50x.html; | |
| location = /50x.html { | |
| root /home/master/limehd.tv/current/frontend/web/errors; | |
| } | |
| access_log /var/log/nginx/iptv2022.com.access.log main buffer=64k; | |
| } | |
| server { | |
| listen 194.35.48.49:443 ssl backlog=16384; | |
| server_name admin.limehd.tv; | |
| ssl_certificate /etc/ssl/certs/limehd.tv-bundle.crt; | |
| ssl_certificate_key /etc/ssl/private/limehd.tv.key; | |
| ssl_protocols TLSv1 TLSv1.1 TLSv1.2 SSLv2; | |
| ssl_ciphers EECDH:+AES256:-3DES:RSA+AES:RSA+3DES:!NULL:!RC4; | |
| ssl_prefer_server_ciphers on; | |
| ssl_stapling on; | |
| ssl_stapling_verify on; | |
| root /home/master/limehd.tv/current/backend/web; | |
| client_max_body_size 128M; | |
| location /errors { | |
| try_files $uri =404; | |
| } | |
| location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar|map)$ { | |
| try_files $uri =404; | |
| } | |
| location ~* /\. { | |
| } | |
| location /p50.m3u { | |
| } | |
| location ~ ^/assets/.*\.php$ { | |
| } | |
| location ~ \.php$ { | |
| try_files $uri =404; | |
| include fastcgi_params; | |
| fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
| fastcgi_pass unix:/run/php/php7.2-fpm.sock; | |
| fastcgi_index index.php; | |
| fastcgi_send_timeout 240s; | |
| fastcgi_read_timeout 240s; | |
| fastcgi_buffers 64 256k; | |
| fastcgi_buffer_size 256k; | |
| fastcgi_intercept_errors on; | |
| fastcgi_busy_buffers_size 256k; | |
| fastcgi_temp_file_write_size 256k; | |
| fastcgi_ignore_client_abort on; | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
| } | |
| location / { | |
| index index.php; | |
| try_files $uri $uri/ /index.php$is_args$args; | |
| } | |
| # redirect server error pages to the static page /50x.html | |
| # | |
| error_page 500 502 503 504 /50x.html; | |
| location = /50x.html { | |
| root /home/master/limehd.tv/current/backend/web/errors; | |
| } | |
| access_log /var/log/nginx/admin.limehd.tv.access.log main buffer=64k; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment