Sponsor:
Server and Web Integrator
Link:
6.5.0
or
7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR
is open-source.
Donate and or Sponsorship always welcome.
Click to:
Donate...
MRatWork
Forum
Please
login
or
register
.
2024-05-05, 08:29:54
Home
Help
Search
Calendar
Login
Register
MRatWork Forum by Mustafa Ramadhan
»
Sawo Project - Kloxo-MR Discussions
»
Kloxo-MR Technical Helps
»
Customize Nginx value
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Customize Nginx value (Read 3634 times)
0 Members and 1 Guest are viewing this topic.
fossxplorer
Master
Posts: 640
Karma: +1/-0
Customize Nginx value
«
on:
2016-08-29, 09:44:58 »
I need to customize client_max_body_size to a higher value in /opt/configs/nginx/conf/globals/proxy_standard_ssl.conf and /opt/configs/nginx/conf/globals/switch_standard_ssl.conf. Can i create a custom.proxy_standard_ssl.conf and custom.switch_standard_ssl.conf file?
«
Last Edit: 2016-08-29, 09:47:34 by fossxplorer
»
Logged
Kloxo-MR!
fossxplorer
Master
Posts: 640
Karma: +1/-0
Re: Customize Nginx value
«
Reply #1 on:
2016-08-29, 10:05:23 »
There is no check for custom.switch_standard* nor custom.proxy_standard* in tpl/domains.conf.tpl nor tpl/defaults.conf.tpl so i assume we can't customize values on those files.
Can you add support for that @Mustafa?
Logged
Kloxo-MR!
MRatWork
Administrator
The Elite
Posts: 15,807
Karma: +119/-11
Gender:
Re: Customize Nginx value
«
Reply #2 on:
2016-08-29, 15:27:11 »
Source file for switch_*.conf is proxy_*.conf and php-fpm_*.conf. So you must copy proxy_*.conf to custom.proxy_*.conf and php-fpm_*.conf to custom.php-fpm_*.conf
Logged
..::
MRatWork
(Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator -
Web Hosting
(Kloxo-MR READY!) --
fossxplorer
Master
Posts: 640
Karma: +1/-0
Re: Customize Nginx value
«
Reply #3 on:
2016-09-01, 14:33:50 »
Thanks.
What about defaults/init.conf... Can i create a custom.init.conf too?
Logged
Kloxo-MR!
MRatWork
Administrator
The Elite
Posts: 15,807
Karma: +119/-11
Gender:
Re: Customize Nginx value
«
Reply #4 on:
2016-09-01, 17:14:56 »
Init created by defaults.conf.tpl.
Logged
..::
MRatWork
(Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator -
Web Hosting
(Kloxo-MR READY!) --
fossxplorer
Master
Posts: 640
Karma: +1/-0
Re: Customize Nginx value
«
Reply #5 on:
2016-09-02, 19:31:01 »
#/opt/configs/nginx
I've created tpl/custom.defaults.conf.tpl with the following change:
if (!isset($timeout)) {
$timeout = '3000';
}
and ran sh fixweb, and i can see the changes in conf/defaults/init.conf.
But these changes aren't to be seen in /opt/configs/nginx/conf/domains/mydomain.com.conf.
What am i missing now?
Logged
Kloxo-MR!
MRatWork
Administrator
The Elite
Posts: 15,807
Karma: +119/-11
Gender:
Re: Customize Nginx value
«
Reply #6 on:
2016-09-02, 20:34:49 »
No. Use 'web features' under domain for setting up 'timeout'.
Logged
..::
MRatWork
(Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator -
Web Hosting
(Kloxo-MR READY!) --
Print
Pages: [
1
]
Go Up
« previous
next »
MRatWork Forum by Mustafa Ramadhan
»
Sawo Project - Kloxo-MR Discussions
»
Kloxo-MR Technical Helps
»
Customize Nginx value
Top 10 Social Networking:
Facebook
Twitter
LinkedIn
Pinterest
Google Plus
Tumblr
Instagram
VK
Flickr
Vine
..::
Monetize Your Website with ylliXmedia
::..
..::
Online Advertising that Sale Anything with ylliXmedia
::..
Design By SMFSimple.com
SMF 2.0.15
|
SMF © 2017
,
Simple Machines
Page created in 0.069 seconds with 23 queries.