Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Windows RDP Only Rs.500 a month
Blogerwiki
Updated:
Yesterday at 12:41 PM
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
FREE SEO Check & Google Maps Check for Sri Lankan Businesses | Web Design, Website Price Rs 14,900 |
LankaSolve
Updated:
Oct 20, 2026
ඕනම රටකට සෙට් වෙන CV එකක්
ErMurazor
Updated:
Oct 17, 2026
Hambantota
7 Acres Beachfront Land For Sell DownSouth , PerPerch Price 420 000
1024 Digital
Updated:
Oct 14, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
NGINX display blank pages
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="pasansnoop" data-source="post: 28192485" data-attributes="member: 125460"><p>මචංලා මම vps එකේ nginx configure කරල php, mysql website එකක් host කළා..</p><p>site එකේ pages display වෙනව ප්රශ්නයක් නෑ..</p><p>ඒත් form එකක් fill කරල submit කලාම database එකට data insert වෙන්නෙත් නෑ..</p><p>display වෙන්නෙ blank page එකක්.. (errors පෙන්නන්නෙත් නෑ)</p><p>හැබැයි කලින් දාපු data view කරන්න පුළුවන්.. delete කරන්නත් පුළුවන්..</p><p>website එක host කරන්න කලින් localhost දැම්මම කිසි ප්රශ්නයක් නැහැ <img src="/styles/default/xenforo/smilies/default/baffled.gif" class="smilie" loading="lazy" alt=":baffled:" title="Baffled :baffled:" data-shortname=":baffled:" /> </p><p>මම ubuntu folder permissions check කළා ඒවත් අවුලක් නෑ</p><p></p><p>[ATTACH=full]184925[/ATTACH]</p><p></p><p>මෙහෙම වෙන්නෙ මගේ nginx site configuration එකේ අවුලක් නිසාද?</p><p>පොඩ්ඩක් මේක check කරල කියන්නකො</p><p></p><p>[CODE=nginx]server {</p><p> listen 80 default_server;</p><p> listen [::]:80 default_server;</p><p></p><p> # SSL configuration</p><p> #</p><p> # listen 443 ssl default_server;</p><p> # listen [::]:443 ssl default_server;</p><p> #</p><p> # Note: You should disable gzip for SSL traffic.</p><p> # See: https://bugs.debian.org/773332</p><p> #</p><p> # Read up on ssl_ciphers to ensure a secure configuration.</p><p> # See: https://bugs.debian.org/765782</p><p> #</p><p> # Self signed certs generated by the ssl-cert package</p><p> # Don't use them in a production server!</p><p> #</p><p> # include snippets/snakeoil.conf;</p><p></p><p> root /var/www/dsportal/html;</p><p> </p><p> # Add index.php to the list if you are using PHP</p><p> index index.php index.html index.htm index.nginx-debian.html;</p><p></p><p> server_name _;</p><p></p><p> location / {</p><p> # First attempt to serve request as file, then</p><p> # as directory, then fall back to displaying a 404.</p><p> try_files $uri $uri/ =404;</p><p></p><p> fastcgi_buffers 8 16k;</p><p> fastcgi_buffer_size 32k;</p><p> fastcgi_connect_timeout 60;</p><p> fastcgi_send_timeout 300;</p><p> fastcgi_read_timeout 300;</p><p> }</p><p> </p><p> # pass PHP scripts to FastCGI server</p><p> #</p><p> location ~ \.php$ {</p><p> include snippets/fastcgi-php.conf;</p><p></p><p> # With php-fpm (or other unix sockets):</p><p> fastcgi_pass unix:/run/php/php8.1-fpm.sock;</p><p> # With php-cgi (or other tcp sockets):</p><p> # fastcgi_pass 127.0.0.1:9000;</p><p> }</p><p></p><p> # deny access to .htaccess files, if Apache's document root</p><p> # concurs with nginx's one</p><p> #</p><p> location ~ /\.ht {</p><p> deny all;</p><p> }</p><p>}</p><p></p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="pasansnoop, post: 28192485, member: 125460"] මචංලා මම vps එකේ nginx configure කරල php, mysql website එකක් host කළා.. site එකේ pages display වෙනව ප්රශ්නයක් නෑ.. ඒත් form එකක් fill කරල submit කලාම database එකට data insert වෙන්නෙත් නෑ.. display වෙන්නෙ blank page එකක්.. (errors පෙන්නන්නෙත් නෑ) හැබැයි කලින් දාපු data view කරන්න පුළුවන්.. delete කරන්නත් පුළුවන්.. website එක host කරන්න කලින් localhost දැම්මම කිසි ප්රශ්නයක් නැහැ :baffled: මම ubuntu folder permissions check කළා ඒවත් අවුලක් නෑ [ATTACH type="full" width="574px" alt="file_permissions.png"]184925[/ATTACH] මෙහෙම වෙන්නෙ මගේ nginx site configuration එකේ අවුලක් නිසාද? පොඩ්ඩක් මේක check කරල කියන්නකො [CODE=nginx]server { listen 80 default_server; listen [::]:80 default_server; # SSL configuration # # listen 443 ssl default_server; # listen [::]:443 ssl default_server; # # Note: You should disable gzip for SSL traffic. # See: https://bugs.debian.org/773332 # # Read up on ssl_ciphers to ensure a secure configuration. # See: https://bugs.debian.org/765782 # # Self signed certs generated by the ssl-cert package # Don't use them in a production server! # # include snippets/snakeoil.conf; root /var/www/dsportal/html; # Add index.php to the list if you are using PHP index index.php index.html index.htm index.nginx-debian.html; server_name _; location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. try_files $uri $uri/ =404; fastcgi_buffers 8 16k; fastcgi_buffer_size 32k; fastcgi_connect_timeout 60; fastcgi_send_timeout 300; fastcgi_read_timeout 300; } # pass PHP scripts to FastCGI server # location ~ \.php$ { include snippets/fastcgi-php.conf; # With php-fpm (or other unix sockets): fastcgi_pass unix:/run/php/php8.1-fpm.sock; # With php-cgi (or other tcp sockets): # fastcgi_pass 127.0.0.1:9000; } # deny access to .htaccess files, if Apache's document root # concurs with nginx's one # location ~ /\.ht { deny all; } } [/CODE] [/QUOTE]
Insert quotes…
Verification
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom