- Milyen okostelefont vegyek?
- Szonárral ad ultimátumot a Huawei az órapiacnak
- Merész dizájn és új teleobjektív az iPhone 17 Pro mobilokban
- Samsung Galaxy S25 - végre van kicsi!
- iPhone topik
- Apple AirPods Pro (2. generáció) - csiszolt almaságok
- Hetekig bírják töltő nélkül a Huawei sportórái
- Apple Watch Ultra - első nekifutás
- Apple Watch
- Kis méret, nagy változás a Motorolánál
-
Mobilarena
Ajánlott szakirodalmak a teljesség igénye nélkül (a lista még bővülhet):
Új hozzászólás Aktív témák
-
Ablakos
őstag
LEMP -re akartam telepíteni a drupalt, de nem sikerül az nginx beállítása. A sites-available/default server működik. /usr/share/nginx/html alatt megy a phpinfo.php és phpmyadmin. A drupalt(8) a /var/www alól akarom kiszolgálni. Ezt kapom az error.log -ba FastCGI sent in stderr: "Unable to open primary script: /usr/share/nginx/html/obcse/index.php Itt van az oldal /var/www/obcse/index.php
A kiszolgált oldalnak ez a konfigja:server {
server_name obcse;
root /var/www/obcse;
index index.php index.html;
access_log /var/log/nginx/obcse_access.log;
error_log /var/log/nginx/obcse_error.log;location = /favicon.ico {
log_not_found off;
access_log off;
}location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}# Very rarely should these ever be accessed outside of your lan
location ~* \.(txt|log)$ {
allow 127.0.0.0/8;
allow 192.168.1.0/24;
#allow 10.0.0.0/8;
deny all;
}location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires max;
log_not_found off;
}location ~ /\. {
access_log off;
log_not_found off;
deny all;
}location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
#NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_intercept_errors on;
fastcgi_pass obcse-backend;
}# This matters if you use drush
location = /backup {
deny all;
}location ~ \..*/.*\.php$ {
return 403;
}location / {
# This is cool because no php is touched for static content
try_files $uri @rewrite;
}location @rewrite {
# Some modules enforce no slash (/) at the end of the URL
# Else this rewrite block wouldn't be needed (GlobalRedirect)
rewrite ^/(.*)$ /index.php?q=$1;
}# Fighting with ImageCache? This little gem is amazing.
location ~ ^/sites/.*/files/imagecache/ {
try_files $uri @rewrite;
}# Catch image styles for D7 too.
location ~ ^/sites/.*/files/styles/ {
try_files $uri @rewrite;
}charset UTF-8;
}upstream obcse-backend {
server 127.0.0.1:9000;
}Mit kell még változtatnom?
Új hozzászólás Aktív témák
- Linux Mint
- Autós topik
- Mibe tegyem a megtakarításaimat?
- Szünetmentes tápegységek (UPS)
- Kerékpárosok, bringások ide!
- Milyen okostelefont vegyek?
- Szonárral ad ultimátumot a Huawei az órapiacnak
- Futás, futópályák
- Merész dizájn és új teleobjektív az iPhone 17 Pro mobilokban
- HBO Max
- További aktív témák...
- AsRock B550M Steel Legend + AMD Ryzen 7 5700X + Corsair Vengeance LPX DDR4 3200 32 Gb
- Apple iPhone 16 Pro 128GB, Kártyafüggetlen, 1 Év Garanciával
- Eladó Lian Li O11 Dynamic XL White (O11DXL-W) ROG CERTIFIED "szörnyeteg"
- Acer Nitro Gamer Laptop, karcmentes, doboz, 1 év garancia(i7 11800h, 3050ti)
- Asztali PC R5 5500 RX 5700 XT 16GB DDR4 512GB NVME
- Apple iPhone 16 Plus 256GB,Újszerű,Kábel, 12 hónap garanciával
- BESZÁMÍTÁS! Sony PlayStation 5 825GB SSD digital konzol garanciával hibátlan működéssel
- AKCIÓ! DELL Precision 7540 i7-9850H Quadro T2000 16GB 512GB 1 év garancia
- Apple iPhone SE 16GB, Kártyafüggetlen, 1 Év Garanciával
- Honor Magic6 Pro 512GB, Kártyafüggetlen, 1 Év Garanciával
Állásajánlatok
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest
Cég: CAMERA-PRO Hungary Kft.
Város: Budapest