saarg Posted July 30, 2020 Share Posted July 30, 2020 10 hours ago, xaositek said: Any chance of getting the 'calendar' extension loaded in this container? <?php var_dump(extension_loaded('calendar')); ?> Results: bool(false) Don't find any extension called calender for nginx. For us to include it, it has to be available in the alpine linux package repository. Quote Link to comment
xaositek Posted July 30, 2020 Share Posted July 30, 2020 (edited) 5 hours ago, saarg said: Don't find any extension called calender for nginx. For us to include it, it has to be available in the alpine linux package repository. @saarg I apologize this is a PHP extension, not Nginx - https://www.php.net/manual/en/book.calendar.php. This permits functions similar to <?php echo cal_days_in_month(CAL_GREGORIAN, 1, 2020); ?> Edited July 30, 2020 by xaositek Fixed space in sample code Quote Link to comment
saarg Posted July 30, 2020 Share Posted July 30, 2020 6 hours ago, xaositek said: @saarg I apologize this is a PHP extension, not Nginx - https://www.php.net/manual/en/book.calendar.php. This permits functions similar to <?php echo cal_days_in_month(CAL_GREGORIAN, 1, 2020); ?> Then you can add it using this guide: https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ Package name in the Alpine repo is php7-calendar Quote Link to comment
xaositek Posted July 30, 2020 Share Posted July 30, 2020 Thank you very much @saarg!! Worked like a charm! Quote Link to comment
PRG Posted December 29, 2020 Share Posted December 29, 2020 I am a bit new to docker, but would it be possible to upgrade to php7.4 somehow? Quote Link to comment
saarg Posted December 29, 2020 Share Posted December 29, 2020 1 hour ago, PRG said: I am a bit new to docker, but would it be possible to upgrade to php7.4 somehow? Not until alpine release it in alpine 3.13. Quote Link to comment
PRG Posted December 29, 2020 Share Posted December 29, 2020 I can probably wait... Quote Link to comment
xaositek Posted February 5, 2021 Share Posted February 5, 2021 On 12/29/2020 at 6:41 AM, saarg said: Not until alpine release it in alpine 3.13. @saarg - was curious it looks like Alpine 3.13.1 is out at this point. I know LinuxServer.IO tends to rebase everything across the board in a rolling fashion, but I apologize I don't know where to look for the status on that, if it has even began in any packages. Thanks in advance! Quote Link to comment
tater0519 Posted February 8, 2021 Share Posted February 8, 2021 I want to run multiple websites, but I cannot get past the 403 forbidden message if I use anything other than the root /config/www; line in the default file. I want to run webtrees as it's on site (webtrees.mydomain.com) and not as (mydomain.com/webtrees). I can get it to work, but say I want to run another website in the same container with a different domain, how do I define another document root in nginx and not get the 403 forbidden? Thanks! Quote Link to comment
OctopusVPS Posted February 21, 2021 Share Posted February 21, 2021 I have this issue. How i can fix this ? Quote Link to comment
saarg Posted February 21, 2021 Share Posted February 21, 2021 29 minutes ago, PawelKa said: I have this issue. How i can fix this ? The port is already in use. I guess you have modified some configs? Quote Link to comment
blinkito Posted March 3, 2021 Share Posted March 3, 2021 (edited) Hi there! First things first, thank you for the container, as well as your support. I have a game server container and many others containers such as plex, tautulli, deluge running on my unraid machine and until now, I've been able to proxypass through nginx all the containers I've needed to (plex, tautulli, etc.), but, when talking about my steamcmd game server...here comes my headaches! I can only reach it on steam server searching if I write the URL:PORT, such as: subdomain.mydomain.com:PORT. But I'd like to reach it just writting the url (without specifying the port). I've tried the stream module onto nginx.conf with no luck at all, also tried to make a site.conf but again failed... Do anybody knows how could I make a subdomain.mydomain.com proxypassed to my game_server (unraid machine) IP:PORT and then be able to find it on steam just with my "subdomain.mydomain.com" without writting the PORT? Cause when my ISP provider changes my public IP the gameserver saved on steam favourites is no longer available and I have to search it again with "subdomain.mydomain.com:PORT" to reach my new public IP through my url. I have my CNAME entry on my domain cpanel pointing to my duckdns url. Also a subdomain entry on the swag container for my gameserver. What can I be missing here? Thanks in advance!😃 Edited March 3, 2021 by blinkito Quote Link to comment
mr_cg Posted March 19, 2021 Share Posted March 19, 2021 Hi all, i am new to unraid and new to docker. ;-) Unfortunately it's not supported to add native HTTP share in unraid. Therefore i installed the nginx docker container. Nginx i already used on my windows pc. What i want to do: I want to share some files in already existing folder on unraid "/mnt/user/share1/HTML". Protocol should be HTTP (not HTTPS) with port 8080. I tried to modify /mnt/user/appdata/nginx/nginx/nginx.conf but without success. Unfortunately i do not get nginx working for this simple task, hopefully somebody can help me here. Thanks for your help!!! Quote Link to comment
LittleMike Posted May 15, 2021 Share Posted May 15, 2021 This may be a stupid question, but is there any reason why the nginx container keeps creating a default file under /config/nginx/site-confs every time it's restarted? I'm trying to set up 3 websites with 3 different conf files in the site-confs folder. My main nginx.conf file has an include statement referencing the path. I was copying my settings over from default to the "custom" conf file, then deleted the default file. Restarted the container and the default file is back. Quote Link to comment
saarg Posted May 16, 2021 Share Posted May 16, 2021 It gets copied on every start, so no point in deleting it. Edit it instead of deleting it. It is set up this way so we can supply a working setup the first time you use the container and in case the user has messed up the default file, can delete it and get it back to a working state. Quote Link to comment
LittleMike Posted May 16, 2021 Share Posted May 16, 2021 3 hours ago, saarg said: It gets copied on every start, so no point in deleting it. Edit it instead of deleting it. It is set up this way so we can supply a working setup the first time you use the container and in case the user has messed up the default file, can delete it and get it back to a working state. I figured as much. No worries, that's exactly what I did. It doesn't overwrite my changes, so that works just fine. Thank you. Quote Link to comment
ralieghnet Posted June 9, 2021 Share Posted June 9, 2021 I'm using WordPress with this Docker. Is is possible to get FFMPEG installed in the next update? I want to be able to serve up Video. Quote Link to comment
saarg Posted June 11, 2021 Share Posted June 11, 2021 On 6/9/2021 at 9:17 PM, ralieghnet said: I'm using WordPress with this Docker. Is is possible to get FFMPEG installed in the next update? I want to be able to serve up Video. No it's not possible. You can install it using our customizing option found in the below link. https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ 1 Quote Link to comment
SMCSUser Posted July 9, 2021 Share Posted July 9, 2021 I have multiple Websites Running on Nginx Docker and Nginx Reverse Proxy Docker on Unraid 6.9.2. All works absolutely perfect from any Computer or Phone. The issue is only with iPhone that I am aware of. If my iPhone is on wifi I can connect no problem, but if I turn off wifi and go to cellular data, the phone will not connect to any of my websites. Every browser I have tried gives similar messages like this: Website ERR_SSL_PROTOCOL_ERROR I have been troubleshooting this for over 3 weeks now and have tried every trick I could find, but nothing works. it has me puzzled that it will work fine for computers inside and outside of the network and phones inside and outside of the network, but will not work when switched to cellular data. If anyone could help me get this working I would really appreciate it. If I need to provide more information I can try an do that as well. Also, when I run tests with SSL Labs, I get A+ rating so I am just at a loss. Quote Link to comment
SMCSUser Posted July 21, 2021 Share Posted July 21, 2021 Can anyone tell me how to install graphviz on my Nginix docker? I am not familiar on how to install packages in unraid or if it is even possible. Any help would be very appreciated. Quote Link to comment
SMCSUser Posted July 21, 2021 Share Posted July 21, 2021 Found the solution. Thank you Quote Link to comment
NeoSys Posted September 8, 2021 Share Posted September 8, 2021 On 2/12/2018 at 2:22 PM, aptalca said: For pretty permalinks, I had to add this to the nginx/wordpress container's site-config: if (!-e $request_filename) { rewrite ^.*$ /index.php last; } I installed the container uploaded wordpress to appdata/nginx/www/ I opened from Unraid Docker link and got the Wordpress Setup I connected the MariaDB and it went flawless. After testing pretty much everything is working for my needs except one thing. Permalinks I have tried and tried what ever I find on the web but for the life of me nothing works even the instructions do not match what I see on my appdata/nginx/nginx/nginx.conf Where exactly do I add: if (!-e $request_filename) { rewrite ^.*$ /index.php last; } I have a really basic setup of linuxserver/mariadb with linuxserver/nginx and wordpress 5.8 install with the Woffice - Intranet/Extranet WordPress Theme from Themeforest. The only thing I need is to have permalinks works so I can use BuddyPress I am not looking for reverse proxy or anything fancy. All I am looking to do is to have a family portal from my unraid server that is accessed locally from inside of our home. Please any help would be really appreciated. Thanks, Vic Quote Link to comment
SMCSUser Posted September 8, 2021 Share Posted September 8, 2021 Hi Vic, I have several instances of Wordpress running on my server and I did not have to do anything like you are talking about. Are you using the Wordpress template? If not, I highly recommend it, you don't have to change much to get it working. Once you do, all you have to do is log into your dashboard and go to Settings - Permalinks and set it however you want from there. Hope this helps! If you need anything further please feel free to ask. Quote Link to comment
NeoSys Posted September 8, 2021 Share Posted September 8, 2021 4 minutes ago, SMCSUser said: Wordpress template? What do you mean by this? 4 minutes ago, SMCSUser said: Settings - Permalinks and set it however you want from there. Yup just like any other Wordpress Install and nothing it breaks the site. nginx by default does not work with Wordpress permalinks as you can see they have made a special wiki on configuration Nginx Wordpress Config the problem is that this differs by the type of setup hence a windows machine a debian detup etc etc or as us inside the docker. So I really do not know how your Nginx install accepted permalinks of the bat. So any help appreciated. Vic Quote Link to comment
SMCSUser Posted September 8, 2021 Share Posted September 8, 2021 Correct, go to Apps tab type Wordpress and set it up from there. You do not need Nginx separately. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.