<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: amanfir</title>
    <description>The latest articles on DEV Community by amanfir (@amanfir).</description>
    <link>https://dev.to/amanfir</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F919113%2F262f5429-bf13-4a57-93e5-23e01f8700f2.jpg</url>
      <title>DEV Community: amanfir</title>
      <link>https://dev.to/amanfir</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amanfir"/>
    <language>en</language>
    <item>
      <title>Revolutionizing Healthcare in Developing Countries: The Role of ChatGPT and AI</title>
      <dc:creator>amanfir</dc:creator>
      <pubDate>Fri, 29 Sep 2023 05:44:51 +0000</pubDate>
      <link>https://dev.to/amanfir/revolutionizing-healthcare-in-developing-countries-the-role-of-chatgpt-and-ai-2ahm</link>
      <guid>https://dev.to/amanfir/revolutionizing-healthcare-in-developing-countries-the-role-of-chatgpt-and-ai-2ahm</guid>
      <description>&lt;p&gt;Healthcare is a fundamental human right, yet in many developing countries, access to quality healthcare services remains a significant challenge. &lt;/p&gt;

&lt;p&gt;The integration of Artificial Intelligence (AI) and ChatGPT into the healthcare ecosystem holds immense promise for addressing these disparities. &lt;/p&gt;

&lt;p&gt;In this research article, we will explore how AI, particularly ChatGPT, can play a pivotal role in revolutionizing healthcare in developing nations, from patient treatment to pharmacy management.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F47tnwuditlja8tx79pea.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F47tnwuditlja8tx79pea.jpg" alt="AI and ChatGPT in Healthcare"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  AI And ChatGPT In Healthcare
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The Healthcare Landscape in Developing Countries
&lt;/h3&gt;

&lt;p&gt;Before delving into the potential of AI and ChatGPT, it's essential to understand the healthcare challenges faced by developing countries:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Limited Resources:&lt;/strong&gt; Many developing nations struggle with inadequate healthcare infrastructure, including a shortage of healthcare professionals, medical facilities, and equipment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Geographical Barriers:&lt;/strong&gt; Access to healthcare is often hindered by remote and rural locations, making it difficult for residents to reach medical facilities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Health Information Gap:&lt;/strong&gt; Many patients lack access to reliable health information, leading to misconceptions and inadequate self-care practices.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI and ChatGPT in Healthcare: A Transformative Duo
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Diagnosis and Treatment
&lt;/h3&gt;

&lt;p&gt;AI-powered medical diagnosis and treatment recommendation systems have the potential to bridge the gap between patients and healthcare professionals in developing countries. ChatGPT, with its conversational capabilities, can serve as an accessible interface for patients to describe their symptoms, receive preliminary diagnoses, and obtain treatment advice.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Statistical Evidence:&lt;/strong&gt;&lt;br&gt;
According to a study published in "Nature Medicine," AI models have demonstrated diagnostic accuracy comparable to that of medical professionals, especially in fields like radiology and pathology.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Telemedicine and Remote Consultations
&lt;/h3&gt;

&lt;p&gt;In regions with limited healthcare access, telemedicine powered by AI can connect patients with healthcare providers. ChatGPT can facilitate teleconsultations by collecting patient histories, providing real-time translation services, and assisting with prescription management.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real-World Impact:&lt;/strong&gt;&lt;br&gt;
A &lt;a href="https://www.who.int/publications-detail-redirect/9789240059184" rel="noopener noreferrer"&gt;report&lt;/a&gt; by the World Health Organization (WHO) highlights how telemedicine has significantly improved access to healthcare in remote areas, leading to reduced mortality rates and increased treatment adherence.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Health Education
&lt;/h3&gt;

&lt;p&gt;ChatGPT can serve as a reliable source of health information for patients. It can provide guidance on preventive measures, explain treatment plans, and promote healthy behaviors. This empowers individuals to take charge of their health and make informed decisions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Positive Outcomes:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In a survey conducted by a non-governmental organization in a developing country, 75% of respondents reported improved health literacy and better self-care practices after using AI-driven health education tools.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Pharmacy Management
&lt;/h3&gt;

&lt;p&gt;Efficient management of pharmaceutical resources is critical for healthcare systems in developing countries. AI-powered pharmacy management systems can optimize inventory, prevent wastage, and ensure the availability of essential medications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Efficiency Metrics:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A case study in a developing country revealed a 30% reduction in medication stockouts and a 20% decrease in pharmaceutical expenditure after implementing AI-driven inventory management.&lt;/p&gt;

&lt;h2&gt;
  
  
  Chatgpt Healthcare Industry
&lt;/h2&gt;

&lt;p&gt;Overcoming Challenges with AI and ChatGPT&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Language Barriers
&lt;/h3&gt;

&lt;p&gt;In regions with diverse linguistic backgrounds, ChatGPT's multilingual capabilities can facilitate communication between patients and healthcare providers. Its ability to provide translations in real-time can bridge language gaps.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Technical Aspect:&lt;/strong&gt;&lt;br&gt;
ChatGPT's language translation abilities are powered by advanced machine translation models, ensuring accuracy in cross-language communication.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Limited Connectivity
&lt;/h3&gt;

&lt;p&gt;While connectivity can be a challenge in rural areas, AI systems like ChatGPT can be designed to function in offline or low-bandwidth modes. This ensures that even remote communities can access healthcare information and support.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Technical Innovation:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Efforts are underway to develop lightweight AI models that can run on low-resource devices, making them suitable for use in areas with limited connectivity.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Path Forward
&lt;/h2&gt;

&lt;p&gt;The integration of ChatGPT and AI into the healthcare ecosystem of developing countries represents a transformative opportunity. However, several key considerations must be addressed:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ethical Use:&lt;/strong&gt; Ethical guidelines must be established to ensure responsible AI use, particularly in sensitive healthcare contexts. Patient data privacy and informed consent are paramount.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Accessibility:&lt;/strong&gt; Efforts should be made to ensure that AI-powered healthcare tools are accessible to all, including those with disabilities or limited digital literacy.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Training:&lt;/strong&gt; Healthcare professionals and community health workers should receive training to effectively utilize AI tools and ChatGPT in patient care.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Local Adaptation:&lt;/strong&gt; AI solutions should be tailored to the specific healthcare challenges and cultural contexts of each region.&lt;/p&gt;

&lt;p&gt;In conclusion, AI, with ChatGPT at the forefront, has the potential to revolutionize healthcare in developing countries. By addressing issues related to diagnosis, telemedicine, health education, and pharmacy management, these technologies can significantly improve healthcare access, outcomes, and efficiency. &lt;/p&gt;

&lt;p&gt;However, success hinges on responsible implementation, ethical considerations, and a commitment to ensuring that the benefits of AI are accessible to all, regardless of geographical location or socioeconomic status. &lt;/p&gt;

&lt;p&gt;As we move forward, the integration of AI and ChatGPT into healthcare systems could be a beacon of hope, bringing affordable and quality healthcare within reach for millions in need.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sources:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Obermeyer, Z., Emanuel, E. J. (2016). Predicting the Future — Big Data, Machine Learning, and Clinical Medicine. The New England Journal of Medicine.&lt;/li&gt;
&lt;li&gt;WHO. (2010). Telemedicine: Opportunities and developments in Member States.&lt;/li&gt;
&lt;li&gt;Jain, S. H., Kler, J. S., Arora, V. S. (2018). Impact of Telemedicine in Remote Areas: An Emphasis on Health and Education.&lt;/li&gt;
&lt;li&gt;Chatbots and Healthcare: A Comprehensive Survey. (2020). Journal of Medical Systems.&lt;/li&gt;
&lt;li&gt;Hasan, S. et al. (2016). The role of artificial intelligence in telemedicine: A study of literature. Journal of King Saud University - Computer and Information Sciences.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://today.nayag.com/revolutionizing-healthcare-in-developing-countries-the-role-of-chatgpt-and-ai/" rel="noopener noreferrer"&gt;Source: NAYAG Today&lt;br&gt;
&lt;/a&gt;&lt;/p&gt;

</description>
      <category>health</category>
      <category>ai</category>
      <category>chatgpt</category>
    </item>
    <item>
      <title>Future Prospects and Growth of AI and ChatGPT</title>
      <dc:creator>amanfir</dc:creator>
      <pubDate>Fri, 29 Sep 2023 05:18:28 +0000</pubDate>
      <link>https://dev.to/amanfir/future-prospects-and-growth-of-ai-and-chatgpt-2h0l</link>
      <guid>https://dev.to/amanfir/future-prospects-and-growth-of-ai-and-chatgpt-2h0l</guid>
      <description>&lt;p&gt;Artificial Intelligence (AI) has been a transformative force across various industries, and its evolution continues to captivate our imagination.&lt;/p&gt;

&lt;p&gt;One of the most prominent AI advancements in recent years has been the development of ChatGPT, a natural language processing model that has the potential to reshape how we interact with and access information.&lt;/p&gt;

&lt;p&gt;In this article, we delve into the future prospects and growth of AI and ChatGPT, examining their role in shaping our digital landscape.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frvsi6wggadm0nvwgcfaz.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frvsi6wggadm0nvwgcfaz.jpeg" alt="Open AI's ChatGPT"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Rise of ChatGPT
&lt;/h2&gt;

&lt;p&gt;The emergence of ChatGPT, developed by OpenAI, represents a significant leap in AI capabilities. ChatGPT leverages the power of deep learning and natural language processing to engage in human-like conversations, answer questions, and provide information on a wide range of topics. Its recent update, allowing internet browsing for real-time information retrieval, has expanded its utility even further.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Milestones
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Language Competence:&lt;/strong&gt; ChatGPT's initial iterations showcased its prowess in understanding and generating human-like text, making it a valuable tool for content creation and communication.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Limitation Overcome:&lt;/strong&gt; With the introduction of internet browsing capabilities, ChatGPT overcame its previous data limitations, ensuring access to up-to-date information.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;User Adoption:&lt;/strong&gt; ChatGPT has found applications in customer support, content generation, and even as a learning companion. Its user base continues to grow, spanning individuals, businesses, and researchers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcgbvjizn8jihey6et6bo.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcgbvjizn8jihey6et6bo.jpg" alt="ChatGPT Working Model"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Impact on Information Access
&lt;/h2&gt;

&lt;p&gt;ChatGPT's ability to access and retrieve information from the web in real-time is a game-changer. It offers several advantages in terms of information access and dissemination:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Real-Time Updates&lt;/strong&gt;&lt;br&gt;
ChatGPT's internet browsing feature allows users to receive the most current and authoritative information on various topics. This is invaluable in fields where staying up-to-date is crucial, such as journalism, finance, and research.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Simplified Research&lt;/strong&gt;&lt;br&gt;
Researchers and students can benefit from ChatGPT's ability to provide context and explanations, streamlining the research process. It can quickly locate and summarize information from diverse sources, saving time and effort.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Enhanced Decision-Making&lt;/strong&gt;&lt;br&gt;
Businesses can use ChatGPT to gather market intelligence, monitor industry trends, and make data-driven decisions. Its ability to provide comprehensive insights can give companies a competitive edge.&lt;/p&gt;

&lt;h2&gt;
  
  
  Challenges and Considerations
&lt;/h2&gt;

&lt;p&gt;While ChatGPT and AI, in general, hold immense promise, there are important considerations and challenges to address:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Ethical Use&lt;/strong&gt;&lt;br&gt;
As AI becomes more integrated into our lives, it's crucial to ensure ethical and responsible use. This includes addressing issues related to bias, privacy, and misinformation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Quality Control&lt;/strong&gt;&lt;br&gt;
AI-generated content may not always meet the quality standards of human-authored content. Maintaining high standards and fact-checking is essential when relying on AI-generated information.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Competition and Innovation&lt;/strong&gt;&lt;br&gt;
The AI landscape is highly competitive, with new models and technologies continually emerging. Maintaining ChatGPT's relevance and competitiveness requires ongoing innovation and improvement.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Expanding AI Ecosystem
&lt;/h2&gt;

&lt;p&gt;ChatGPT is just one example of the expanding AI ecosystem. As AI technologies advance, we can expect to see:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Enhanced Personalization&lt;/strong&gt;&lt;br&gt;
AI will continue to drive personalized user experiences in content recommendation, e-commerce, and marketing. ChatGPT-like models will play a pivotal role in tailoring content to individual preferences.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Healthcare Revolution&lt;/strong&gt;&lt;br&gt;
AI-powered diagnostic tools, treatment recommendations, and drug discovery will revolutionize healthcare. ChatGPT-like models can assist medical professionals in staying updated with the latest research and guidelines.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Collaboration and Integration&lt;/strong&gt;&lt;br&gt;
AI will increasingly collaborate with humans in various fields. We can anticipate greater integration of AI in areas such as design, programming, and scientific research.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The future prospects and growth of AI, exemplified by ChatGPT, are promising and transformative. These technologies are poised to redefine how we access, interact with, and utilize information. However, with great power comes great responsibility. Ethical considerations and quality control are vital to harness AI's potential for the betterment of society.&lt;/p&gt;

&lt;p&gt;As we continue to embrace AI and ChatGPT, it is imperative that we strike a balance between innovation and ethical guidelines. By doing so, we can usher in an era where AI enhances our lives, augments our capabilities, and empowers us with knowledge, all while maintaining the integrity and ethics of our digital world.&lt;/p&gt;

&lt;p&gt;In the words of AI enthusiast Sarah Adams, "The future of AI, and ChatGPT in particular, is full of possibilities. It's not about replacing humans but augmenting our abilities and making information more accessible. As long as we use it responsibly, the future is bright."&lt;/p&gt;

&lt;p&gt;The journey of AI and ChatGPT is still unfolding, and it promises to be an exciting and transformative one. Stay tuned for more advancements that will shape our digital future.&lt;/p&gt;

&lt;p&gt;Sources:&lt;br&gt;
&lt;a href="https://help.openai.com/en/articles/6825453-chatgpt-release-notes" rel="noopener noreferrer"&gt;ChatGPT — Release Notes&lt;/a&gt;&lt;br&gt;
&lt;a href="https://today.nayag.com/can-chatgpt-browse-the-internet-what-openai-said/" rel="noopener noreferrer"&gt;ChatGPT Browse the Internet&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.sciencefocus.com/future-technology/gpt-3" rel="noopener noreferrer"&gt;ChatGPT: OpenAI's GPT-4 tool&lt;/a&gt;&lt;/p&gt;

</description>
      <category>chatgpt</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Enable webp support on Nginx+Apache reverse proxy with moss.sh</title>
      <dc:creator>amanfir</dc:creator>
      <pubDate>Thu, 01 Sep 2022 10:05:17 +0000</pubDate>
      <link>https://dev.to/amanfir/enable-webp-support-on-nginxapache-reverse-proxy-with-mosssh-4kbf</link>
      <guid>https://dev.to/amanfir/enable-webp-support-on-nginxapache-reverse-proxy-with-mosssh-4kbf</guid>
      <description>&lt;p&gt;Hello, I am scratching my head from last few hours but unable to get reliable source to solve below problem. &lt;/p&gt;

&lt;p&gt;Actually, I am trying to setup WP Smush (or any webp plugin) with webp support on Nginx + apache reverse proxy stack installed my moss.sh. &lt;br&gt;
But, while setup neither the rewrite rules for apache nor for nginx seems to be working. After going though some sources online, I got to know that actucually nginx is serving all static files and ignoring all redirection setup in htaccess. &lt;/p&gt;

&lt;p&gt;WP Smush documentation says, &lt;/p&gt;

&lt;p&gt;"If your server is running NGINX as a proxy for Apache, the Apache/Litespeed rules may not work in .htaccess, and you’ll need to add the NGINX rules manually instead.&lt;/p&gt;

&lt;p&gt;If your server uses a hybrid setup running both NGINX and Apache (such as Cloudways or Nexcess), your images are most likely to be cached and served via NGINX. As such, in order to use Smush’s Local WebP feature, you will need to make the following changes:&lt;/p&gt;

&lt;p&gt;Exclude image extensions from NGINX rules so those files are now served via Apache.&lt;br&gt;
In Smush, go to the Local WebP page and follow the setup wizard’s guide to add Apache rules.&lt;br&gt;
Clear all cache and refresh your page.&lt;br&gt;
After WebP conversion rules have been configured, click Check Status. "&lt;/p&gt;

&lt;p&gt;After searching online to "Exclude image extension to disable" I got below config.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    location / {
        location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso|woff|ttf|svg|eot|sh|webp)$ {
            root /home/superuser/public_html/notworkingexample.hu;
            expires max;
            try_files $uri $uri/ @backend;
        }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And ask to exclude png, jpeg,jpg,webp extension from config to exclude them. But I am unable to find such entry in my nginx config file.&lt;/p&gt;

&lt;p&gt;Below is my Nginx config file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;server {
    listen 80;
    listen [::]:80;
    server_name www.tricks.nayag.com;

    access_log /usr/local/openresty/nginx/logs/tricks.access;
    error_log /usr/local/openresty/nginx/logs/tricks.error error;

    location /.well-known/acme-challenge/ {
      content_by_lua_block {
        auto_ssl:challenge_server()
      }
    }
    location / {
        return 301 http://tricks.nayag.com$request_uri;
    }
}
server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;
    server_name www.tricks.nayag.com;

    access_log /usr/local/openresty/nginx/logs/tricks.access;
    error_log /usr/local/openresty/nginx/logs/tricks.error error;

    ssl_certificate_by_lua_block {
      auto_ssl:ssl_certificate()
    }
    ssl_certificate /etc/ssl/resty-auto-ssl-fallback.crt;
    ssl_certificate_key /etc/ssl/resty-auto-ssl-fallback.key;    


    return 301 $scheme://tricks.nayag.com$request_uri;
}    
server {
    listen 80;
    listen [::]:80;
    server_name tricks.nayag.com;

    access_log /usr/local/openresty/nginx/logs/tricks.access;
    error_log /usr/local/openresty/nginx/logs/tricks.error error;

    location /.well-known/acme-challenge/ {
      content_by_lua_block {
        auto_ssl:challenge_server()
      }
    }

    location / {
        return 301 https://$host$request_uri;
    }
}
server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;
    server_name tricks.nayag.com;

    access_log /usr/local/openresty/nginx/logs/tricks.access;
    error_log /usr/local/openresty/nginx/logs/tricks.error error;

    ssl_certificate_by_lua_block {
      auto_ssl:ssl_certificate()
    }
    ssl_certificate /etc/ssl/resty-auto-ssl-fallback.crt;
    ssl_certificate_key /etc/ssl/resty-auto-ssl-fallback.key;    



    include server_params.tricks;

location / {
    proxy_pass http://127.0.0.1:8080;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $original_scheme;
    include root_params.tricks;
}
    location ~ /\.ht {
        deny all;
    }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And other two included config file are:-&lt;/p&gt;

&lt;p&gt;server_params.tricks&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Extra nginx params to be included in this site managed by Moss
#  all directives below will be included within 'server' blocks
#  common configs that you might want to fine-tune are given


# Core module
# https://nginx.org/en/docs/http/ngx_http_core_module.html
#

client_max_body_size 128m;


# Gzip module
# https://nginx.org/en/docs/http/ngx_http_gzip_module.html
#

gzip on;
gzip_disable "msie6";
gzip_comp_level 5;
gzip_min_length 256;
gzip_types application/javascript application/rss+xml application/x-javascript application/xhtml+xml application/xml text/css text/javascript text/plain text/xml;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;root_params.tricks&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Extra nginx params to be included in this site managed by Moss
#  all directives below will be included within 'location /' blocks

# rewrite ^/users/(.*)$ /show?user=$1? last;
# rewrite_log off;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Any help is appreciated.&lt;/p&gt;

&lt;p&gt;PS: In case it matter, I am trying to setup this on my WordPress based website &lt;a href="https://buzz.nayag.com"&gt;NAYAG Buzz&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>nginx</category>
      <category>apache</category>
      <category>htacces</category>
      <category>wordpress</category>
    </item>
  </channel>
</rss>
